PHP forms that are valid XHTML

From: Tim Burgan (php.net_at_greaterthani.com)
Date: 12/31/03


To: <php-general@lists.php.net>
Date: Wed, 31 Dec 2003 12:15:37 +1030

Hello,

I'm *very* new to PHP. I am working through the 'Professional PHP
Programming' book by Worx.

In their forms they use the name attribute (ie. name="example") instead of
XHTML's id attribute (ie. id="example").

If I use 'name' my results display on the next page after the submit
button is pressed, but if I change it 'id' the results do not display.

How can I fix this?

Thanks
Tim Burgan


Quantcast