Looks like a missing quote could be a culprit here.
<button type="submit" name="action">Add</button>
Would you not also need a value="Add" in the <button> tag?
IE borks on stuff like that.
-Dash
For those who like this sort of thing, this is the sort of thing they
like.
-- Abraham Lincoln
On Thu, 30 Jan 2003, Chris Deam wrote:
> Okay, you are correct about the coding practices, but this is not really
> helping me. One other thing I forgot to mention is that I have two such
> buttons:
> <button type="submit" name="action">Search</button>
> <button type="submit" name="action>Add</button>
> When I click on search, $action is suppossed to be set to Search, but it is
> actually getting set to Add. Any ideas?
>
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php