if($_GET["txtKeyword"]!= "")
{
$keyword = explode(" ", $_GET["txtKeyword"]);
for($h= 0; $h < count ($keyword); $h++){
}
$strSQL ="SELECT * FROM table1 WHERE
(field1 LIKE '%".$keyword[0]."%' or field2 LIKE '%".$keyword[0]."%')
AND
(field1 LIKE '%".$keyword[1]."%' or field2 LIKE '%".$keyword[1]."%')";