Re: [phplib] Problem?? implode - Variable From: Jesse Swensen (swensenj <email protected>)
Date: 04/19/01

Not sure of this construction or what you are doing with it?
> $string1 = echo $string;

is this just a simple assignment? > $string1 = $string;

-- 
Jesse Swensen
swensenj <email protected>

> From: GWBAG <email protected> > Date: Thu, 19 Apr 2001 09:06:57 EDT > To: phplib <email protected> > Subject: [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'; > > $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>