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! Quote 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 Quote 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 Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.