At 13:11 17-1-2003, you wrote:
> I want alternating colours in the output table. Can someone tell me what is wrong with this code? I get the data but no alternating colours.

It has to do with the $cols[$i++%2] part.

When I try to print $i++%2 the outcome varies between 1 and none. Somehow the complete row is not show anymore.

The easiest way is to stop trying this approach and move to the tested versions i mailed to this list about an hour ago.


Further i would suggest to keep the form within the <td></td> bit and not overlap it.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to