prakash Posted May 2, 2007 Share Posted May 2, 2007 I need to have mysql select query in php. The query with select all the data from the table 'user' and field 'usr_name' which will start from other than a-z or A-Z Quote Link to comment Share on other sites More sharing options...
bubblegum.anarchy Posted May 2, 2007 Share Posted May 2, 2007 Use a regular expression, something like: SELECT * FROM user WHERE usr_name REGEXP '^[^a-zA-Z]' Quote Link to comment 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.