>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
Remon,
Your code works correct, cause you coded it this way as it should go through
the array and output every element in the array into one line.
If I got your idea correctly - you probably want you rows to be of two
different colors. You may do it simplier way:
blablabbaba
2 matches
Mail list logo