Date: 06/09/01
- Next message: Forrest J Cavalier III: "Re: [phplib] (Kein Thema)"
- Previous message: Dima Nemchenko: "Re: [phplib] Template Problems"
- Next in thread: Forrest J Cavalier III: "Re: [phplib] (Kein Thema)"
- Maybe reply: Forrest J Cavalier III: "Re: [phplib] (Kein Thema)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
I tried to do:
$ObjTyp1 = array('"%Ein%"' , '"%Doppel%"');
$string1 = implode(" or ", $ObjTyp1);
<input type=radio name="ObjArt" value="Wohn" <? echo (mysql_result($result,0,
"ObjArt")==$string1)?"checked":""; ?>>Wohnhäuser</td>
and it doesn't work,
but when I do:
<input type=radio name="ObjArt" value="Wohn" <? echo (mysql_result($result,0,
"ObjArt")== "%Ein%" or "%Doppel%" )?"checked":"";?>>Wohnhäuser</td>
it works!!!
Why??? I really don't understand, because in my eys it's the same - or not??
Greetings Ralf
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: Forrest J Cavalier III: "Re: [phplib] (Kein Thema)"
- Previous message: Dima Nemchenko: "Re: [phplib] Template Problems"
- Next in thread: Forrest J Cavalier III: "Re: [phplib] (Kein Thema)"
- Maybe reply: Forrest J Cavalier III: "Re: [phplib] (Kein Thema)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

