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 Link to comment https://forums.phpfreaks.com/topic/49638-php-mysql-select-query-help-needed/ 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]' Link to comment https://forums.phpfreaks.com/topic/49638-php-mysql-select-query-help-needed/#findComment-243371 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.