[thelist] PHP/html form queston: a better way to do this form

Bruce Gilbert webguync at gmail.com
Thu Aug 11 17:45:05 CDT 2005


thanks for the reponses regarding my original question regarding php
and form submissions. My next question is this:

say you have something like

<td><label for="first_name">First Name:</label><br> <input class="textbox" 
                        maxlength="35" size="25" name="first_name"
id="first_name" value="{$_POST['first_name']}" ></td>

for proper validation and good practice do you need to use the _ b/c
when you get the error to something like that it looks funny.

you didn't enter your first_name!
you didn't enter your home_telephone_number!

 etc.
 etc.

BTW I am validating against html 4.0 transitional.



-- 
::Bruce::


More information about the thelist mailing list