I guess it would since you're doing basically the same thing, just a
different route.
"Mrbaseball34" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
> says...
> > Here's what I did to get alternating row colors
Here's what I did to get alternating row colors on a results page... I'm not
sure that I follow what you are asking, but I hope this will help you:
$color_one = "dd";
$color_two = "cc";
$row_count = 0;
// SEND QUERY
while (row = fetch array(result))
{
$row_color = ($row_count % 2)
= mysql_fetch_array($query_result);
$message = $query_row["message"];
echo "Message text:".nl2br($message);
And that should do what you need.
Lee Willmann
"Steve Brett" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...