mikosiko Posted May 9, 2011 Share Posted May 9, 2011 then use preg_match() , validate result and discard the record accordingly. 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. 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 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
Archived
This topic is now archived and is closed to further replies.