jd2007 Posted August 18, 2007 Share Posted August 18, 2007 for e.g. in a column 'text' , there are many words on row 1, i want to find for one word in that field how ? below is a clearer example: ----------------- text ----------------- hello world ! ----------------- text is column name, its first row has the value "hello world", i want search the world "hello", what query to make ?...pls help... Link to comment https://forums.phpfreaks.com/topic/65578-solved-i-want-to-search-a-mysql-table-for-a-particular-strig-how-to-make-the-query/ Share on other sites More sharing options...
jd2007 Posted August 18, 2007 Author Share Posted August 18, 2007 sorry for making two same post, i accidentally clicked post twice...sorry ... Link to comment https://forums.phpfreaks.com/topic/65578-solved-i-want-to-search-a-mysql-table-for-a-particular-strig-how-to-make-the-query/#findComment-327421 Share on other sites More sharing options...
MadTechie Posted August 18, 2007 Share Posted August 18, 2007 SELECT * FROM table WHERE field LIKE '%Hello%' % = * (wildcard) is that what your looking for ? Link to comment https://forums.phpfreaks.com/topic/65578-solved-i-want-to-search-a-mysql-table-for-a-particular-strig-how-to-make-the-query/#findComment-327425 Share on other sites More sharing options...
jd2007 Posted August 18, 2007 Author Share Posted August 18, 2007 yes...thanks Link to comment https://forums.phpfreaks.com/topic/65578-solved-i-want-to-search-a-mysql-table-for-a-particular-strig-how-to-make-the-query/#findComment-327429 Share on other sites More sharing options...
MadTechie Posted August 18, 2007 Share Posted August 18, 2007 ~cougths~ Topic solved ? Link to comment https://forums.phpfreaks.com/topic/65578-solved-i-want-to-search-a-mysql-table-for-a-particular-strig-how-to-make-the-query/#findComment-327434 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.