in that case: since quoting attributes is only _really_ neccesary in xhtml,
</Button> should be </button>, since all tag and attribute namnes must be in
lower-case, too...

And I think that;
<button type="submit" name="action">Add</button>
if ($action == "Add"){
    do something;
}

shold do the trick for att browsers and platforms...



. bobo . www.elstudion.com . www.elstudion.com/bobo .



----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, January 30, 2003 9:02 AM
Subject: RE: [PHP-WIN] Wierd Windows Problems


> 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
>
>


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

Reply via email to