bic_crystal Posted April 10, 2008 Share Posted April 10, 2008 :'(can anyone please help? i need help with creating a search query using php. the search should be a variable and when a users name is typed into the search field, it will then extract all the information on that user from the mysql database and display it on a webpage. any help pleaseee?? Link to comment https://forums.phpfreaks.com/topic/100545-php-mysql-search-function/ Share on other sites More sharing options...
zenag Posted April 11, 2008 Share Posted April 11, 2008 $query = "SELECT * FROM table WHERE something like '%$keyword%' or something like '%$keyword%'"; Link to comment https://forums.phpfreaks.com/topic/100545-php-mysql-search-function/#findComment-514435 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.