I don't know if this is relevant, but that's dodgy HTML. Tag attributes
should always be quoted, thus:
<button type="submit" name="action" value="add">Add</Button>

It may not make any difference, but I thought I'd mention it just in case it
does.

Jill


-----Original Message-----
From: Chris Deam [mailto:[EMAIL PROTECTED]]
Sent: Thursday, January 30, 2003 3:41 AM
To: [EMAIL PROTECTED]
Subject: [PHP-WIN] Wierd Windows Problems

2. I have a submit button that looks like this:
<button type=submit name=action value=add>Add</Button>
And corresponding PHP is:
if ($action == "add"){
    do something;
}

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to