| Subject: | PHP Submit Input Problems |
|---|---|
| From: | "stuart1231" <webforumsuser@xxxxxxxxxxxxxx> |
| Date: | Mon, 25 Feb 2008 18:05:39 +0000 (UTC) |
| Newsgroups: | macromedia.dynamic.html |
Hi, I am having a big problem with PHP, I wish to submit a form to either 'Update' or 'Delete' a record, it works fine in Firefox and Safari but not Internet Explorer. Here is a basic code example. Working version http://saawcomputing.co.uk/form-test.php <form action="form-test.php" method="post"> <input type="image" src="3SM/admin/media/update1.gif" name="button" value="update" /> <input type="image" src="3SM/admin/media/delete1.gif" name="button" value="delete" /> </form> <?php if (isset($_POST['button'])) { if ($_POST['button'] == "update") { echo "Will update"; } else { echo "Will delete"; } } ?> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Replacing a page, sully51 |
|---|---|
| Next by Date: | sound on mouseover gives irritating message, eflaten |
| Previous by Thread: | Replacing a page, sully51 |
| Next by Thread: | Re: PHP Submit Input Problems, David Powers |
| Indexes: | [Date] [Thread] [Top] [All Lists] |