A2xA Posted October 4, 2008 Share Posted October 4, 2008 I have it where the users profile is at /users/username. The script does this.. WHERE userUser = "' . $user . '"'; This works fine with any username that dosen't start with a number. I'm wondering what the problem is. Also, the mysql table is varchar and is stored fine with numbers and letters. You can even see this problem at http://battlewall.com Thanks! Link to comment https://forums.phpfreaks.com/topic/127061-solved-problem-verifying-usernames-that-start-with-a-number/ Share on other sites More sharing options...
Adam Posted October 4, 2008 Share Posted October 4, 2008 If you're going to "users/username" it's probably a problem in your .htaccess file .. you use the file to create 'friendly URLs'. I imagine there's a regular expression in there that only allows letters? Try having a look for it.. should be in your root directory.. Adam Link to comment https://forums.phpfreaks.com/topic/127061-solved-problem-verifying-usernames-that-start-with-a-number/#findComment-657264 Share on other sites More sharing options...
A2xA Posted October 4, 2008 Author Share Posted October 4, 2008 Thanks a lot I found it Link to comment https://forums.phpfreaks.com/topic/127061-solved-problem-verifying-usernames-that-start-with-a-number/#findComment-657269 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.