Dear,
I want to select 3 option for search,there are only 2 term
$term = $_POST['searchterm'];
$term = $_POST['searchterm'];
$term = $_POST['searchterm'];
$sql = mysql_query("SELECT * FROM entry WHERE wre LIKE '%".$_POST['searchterm']."%' && searchterm LIKE '%".$_POST['searchterm']."%' && searchterm LIKE '%".$_POST['searchterm']."%'");
Please help me
The SQL would look something like this:
"SELECT * FROM table WHERE wkno LIKE '%".$_POST['searchterm']."%' OR year LIKE '%".$_POST['searchterm']."%'"