[phplib] I don't find the problem - From: GWBAG <email protected>
Date: 04/23/01

Hi,

i get a parse error problem on line ' ...where... like ...... . Anybody knows
where's the problem.
Thanks. Ralf

$ObjTyp = array("'Ein%'" , "'%Bau%'");
$string = implode(" or ObjArt like ", $ObjTyp);
if (trim($ObjArt)=="Wohn") $ObjArt = "$string";
if (trim($ObjArt)=="%") $ObjArt = "%";
echo $string;

$result=MYSQL_QUERY( "SELECT * FROM $tabelle where ObjArt like "'$ObjArt'" &&
......

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>