mikosiko Posted May 9, 2011 Share Posted May 9, 2011 then use preg_match() , validate result and discard the record accordingly. Quote Link to comment https://forums.phpfreaks.com/topic/235750-query-to-exclude-certain-results/page/2/#findComment-1212953 Share on other sites More sharing options...
fenway Posted May 13, 2011 Share Posted May 13, 2011 This isn't a mysql problem anymore. Quote Link to comment https://forums.phpfreaks.com/topic/235750-query-to-exclude-certain-results/page/2/#findComment-1214950 Share on other sites More sharing options...
grahamb314 Posted May 17, 2011 Share Posted May 17, 2011 If you want to keep it all in the query, you could use CASE statements, although it's not a clean way of doing things http://dev.mysql.com/doc/refman/5.0/en/case-statement.html Quote Link to comment https://forums.phpfreaks.com/topic/235750-query-to-exclude-certain-results/page/2/#findComment-1216683 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.