$cars=array("i10","i20","i30");
$sqlquery = "
SELECT *
FROM cars
WHERE model IN ('" . implode("', '", $cars) . "')
";
$result = mysql_query($sqlquery) or die(mysql_error());
hi i know is out the topic but is there a way of doing a str replace to look twice
like at moment i have if find space replace with
.str_replace(' ','-',($row['model']))
is there a way i can do if find twice
$row['model
if find space " " replace with “-” also if find “i30” replace with “10”
is there a way i can try find another like if find " " replace with “-” also if find “130” replace with hello world??