Re: [PHP] using variable ..help

2002-08-28 Thread @ Edwin
>I want my bgcolor display with one by one like this below > > > > > > Try this: /* -- from here -- */ \n"; foreach ($mycolor as $value) { echo "\n\n\n"; } echo "\n"; ?> /* -- 'til here -- */ - E PS See: http://www.php.net/manual/en/control-struct

Re: [PHP] using variable ..help

2002-08-28 Thread Stas Maximov
The "$index&1" construct will return either 0 or 1 for even and odd rows, so the proper color will be selected. HTH, Stas - Original Message - From: "Remon Redika" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, August 28, 2002 2

[PHP] using variable ..help

2002-08-28 Thread Remon Redika
I wanna do with my bgcolor trough my array "> blablabbaba I have look my view source output my TR bgcolor , and i found this below I want my bgcolor display with one by one like this below etc help please. -- PHP General Mailing List (http://www.php.n