joequah1 Posted September 23, 2011 Share Posted September 23, 2011 Hi, im trying to do a search function that will search through the database Examples : table game with id, name I want to get the ID by searching with keywords BUT my keywords is like 'battle field' and I search only 'battle' How do I get battle field ID from the database with just 'battle' ? Please help me out or show me tutorials. thanks. Link to comment https://forums.phpfreaks.com/topic/247684-search-function/ Share on other sites More sharing options...
sasa Posted September 23, 2011 Share Posted September 23, 2011 look http://dev.mysql.com/doc/refman/5.0/en/pattern-matching.html Link to comment https://forums.phpfreaks.com/topic/247684-search-function/#findComment-1271919 Share on other sites More sharing options...
joequah1 Posted September 23, 2011 Author Share Posted September 23, 2011 thanks Link to comment https://forums.phpfreaks.com/topic/247684-search-function/#findComment-1271946 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.