si si hai ragionissimo XD,
ecco il codice:
codice:$select = mysql_query("SELECT * FROM product_ins WHERE `id` LIKE '%$key%' OR `name_prd` LIKE '%$key%' OR `IDX` LIKE '%$key%' OR `category` LIKE '%$key%' OR `description` LIKE '%$key%' OR `short_description` LIKE '%$key%' OR `subtitle` LIKE '%$key%' OR `brand_product` LIKE '%$key%' OR `sub_cat` LIKE '%$key%' "); // e li inseriamo $row = mysql_num_rows($select); while($c <= $row) { $ar = mysql_fetch_array($select); mysql_query("INSERT INTO search_result_site SET point = '$c', user = '$user', id = '$ar[id]', name_prd = '$ar[name_prd]', category = '$ar[category]', description = '$ar[description]', short_description = '$ar[short_description]', subtitle = '$ar[subtitle]', brand_product = '$ar[brand_product]', sub_cat = '$ar[sub_cat]'"); $c++; }


Rispondi quotando