this is a submit button.. so you start something.. so why do you do like this:
<form name="xxxxx" action="xyadf.php" method="post"> <input type="submit" value="Search"> </form> and <form name="xxxxx" action="xyadf1.php" method="post"> <input type="submit" value="Add"> </form> this should work fine... "Chris Deam" <[EMAIL PROTECTED]> schrieb im Newsbeitrag [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > 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