Re: [PHP] validating username

2008-05-27 Thread Ted Wood
You need to encode the # mark. It is a special character in URLs. Example (not a real url): www.php.net/documentation.php#help That #help points to an anchor in that page. Try using the javascript escape() function. http://www.javascripter.net/faq/escape.htm ~Ted On 27-May-08, at 10:14 AM,

[PHP] validating username

2008-05-27 Thread Sudhakar
my question is about validation using php. i am validating a username which a user would enter and clicks on a image to find if that username is available. example if a user enters abc#123 php file is reading this value as abc ONLY which i do not want instead the php file should read as abc#123.