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
Hi,
Wednesday, December 31, 2003, 11:45:37 AM, you wrote:
TB Hello,
TB I'm *very* new to PHP. I am working through the 'Professional PHP
TB Programming' book by Worx.
TB In their forms they use the name attribute (ie. name=example) instead of
TB XHTML's id attribute (ie. id=example).
TB If I
Tim Burgan wrote:
In their forms they use the name attribute (ie. name=example) instead of
XHTML's id attribute (ie. id=example).
How can I fix this?
(X)HTML still requires name to be used for forms. It's usually best to
use both name and ID for forms.
--
PHP General Mailing List
Thanks for your replies.
The name attribute is depreciated in XHTML for use with the input tag and
has been replaced with the id attribute.
The name element can still be used in the form tag though.
What I'm looking for is something similar to ASP's
GetElementByID(example);
Thanks
Tim Burgan
4 matches
Mail list logo