RE: [phplib] Problem?? implode - Variable From: Carlos Romero Mas (Carlos.Romero <email protected>)
Date: 04/20/01

> -----Mensaje original-----
> De: GWBAG <email protected> [mailto:GWBAG <email protected>]
> Enviado el: jueves 19 de abril de 2001 15:07
> Para: phplib <email protected>
> Asunto: [phplib] Problem?? implode - Variable
>
>
> Hi,
>
> somebody knows where's the problem, I get a parse error on line
> " if (trim
> ........"
> Thanks! Ralf
>
>
> $ObjTyp = array("'Einfamilienhaus'", "'Bauernhaus'");
> $string = implode(",", $ObjTyp);
> $string1 = echo $string;
> if (trim($ObjArt)=="Wohn") $ObjArt = '$string1';

   may be simple ' | |

>
> $result=MYSQL_QUERY( "SELECT * FROM $tabelle where (ObjArt IN
> '$ObjArt') &&
> ...........
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: phplib-unsubscribe <email protected>
> For additional commands, e-mail: phplib-help <email protected>
>

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