if($_POST["searchadvance"] != ""){
$sql="SELECT * FROM ".$System_TableName." WHERE id LIKE '%".$_POST["td_1"]."%' OR td_2 LIKE '%".$_POST["td_2"]."%' OR td_3 LIKE '%".$_POST["td_3"]."%' OR td_4 LIKE '%". $_POST["td_4"]."%' OR td_5 LIKE '%".$_POST["td_5"]."%' OR td_6 LIKE '%".$_POST["td_6"]."%'";
}