$sql = "select * from $tblname where $field_search like '%$search%' OR $field_search2 like '%$search%' OR $field_search3 like '%$search%' OR $field_search4 like '%$search%' OR $field_search5 like '%$search%' OR
$field_search6 like '%$search%' OR $field_search7 like '%$search%' OR $field_search8 like '%$search%' OR $field_search9 like '%$search%' OR $field_search10 like '%$search%' OR
$field_search11 like '%$search%' OR $field_search12 like '%$search%' OR $field_search13 like '%$search%' OR $field_search14 like '%$search%' OR $field_search15 like '%$search%' OR
$field_search16 like '%$search%'"; //คำสั่ง Sql ที่ใช้
$dbquery = mysql_db_query($dbname, $sql);