liamoco Posted October 27, 2010 Share Posted October 27, 2010 I have a field called 'ext_chats', an example of what will be in the field is... domain1-qwerty,domain2-abcdef,domain3-12345 I want to select all from the table if 'qwerty' is in this field. How can this be done? Thanks Link to comment https://forums.phpfreaks.com/topic/217005-query-problem/ Share on other sites More sharing options...
Pikachu2000 Posted October 27, 2010 Share Posted October 27, 2010 That looks like a poor database structure, but notwithstanding that, SELECT `whatever` FROM `table` WHERE `some_field` LIKE '%qwerty%' [code] Link to comment https://forums.phpfreaks.com/topic/217005-query-problem/#findComment-1127115 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.