Re: parse error

From: Date: Fri, 27 Oct 2000 11:11:02 +0000
Subject: Re: parse error
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-3989@lists.php.net to get a copy of this message
"Adv. Systems Design" <asd_2000@yahoo.com> wrote: > Any ideas why it is crapping out?! Thanks!! > > <? function row_color($cnt,$even,$odd) { > echo($cnt%2); ? "<tr bgcolor=\"$odd\">" : "<tr > bgcolor="$even\">"; > } > ?> One backslash omitted, one semicolon to much. function row_color($cnt,$even,$odd) { echo($cnt%2) ? "<tr bgcolor=\"$odd\">" : "<tr bgcolor=\"$even\">"; } Lutz -- ibWebAdmin 0.3alpha *** web-based InterBase database administration *** download the latest version from http://home.knuut.de/lb/ ***

« previous php.db (#3989) next »