Re: [PHP-DB] :: Alternating Rows :: Script With More Explaining ::

2001-12-07 Thread Terry Romine
Couldn't you use $alt=(!$alt); echo "\n"; On Thursday, December 6, 2001, at 03:07 PM, Vins wrote: > if(ereg("1$|3$|5$|7$|9$", $i)) { > $bg[$i] = "#FF"; > } else { > $bg[$i] = "#CC"; > } -- PHP Database Mailing List (htt

Re: [PHP-DB] :: Alternating Rows :: Script With More Explaining ::

2001-12-07 Thread Pierre-Alain Joye
On Thu, 6 Dec 2001 23:07:13 +0200 "Vins" <[EMAIL PROTECTED]> wrote: > The code is supposed to look like this... > (Example of code only) > > > > $dbc = mysql_connect("host", "un", "pwd") or die ("Failed Connecting to > Database"); > @mysql_select_db("dbname