Hi,
How do I create a simple search engine, that allows the user to select a column to search (e.g. name) and then search the database and display the results.
Take a look at LIKE function in mySQL.
Eg.
$search = $_POST['search']; // Search is the textbox // SQL query SELECT * FROM $table WHERE name LIKE '% $search %'
% meaning wildcard.