October 12th, 2000, 02:31 PM
I have been using JS for my form validation needs upto now but I have been noticing more and more problems with relying on this. Therefore I am now in the process of changing all this over to PHP, unfortunately I am stuck on how to check that the username field contains no spaces and that it is no longer than ten characters. Any suggestions?
October 12th, 2000, 02:46 PM
if((strlen($username)<4) | | (strlen($username)>8))
then use something like
PHP/MySQL Enabled Hosting/Dedicated Servers