[PHP] Re: ARRRRGGGGHHHH! Weird Problems!

2002-08-01 Thread Aaron
What is the purpose of using the for loop? if I may make a suggestion for using the while loop. The code would look something like this: $lyric_array[1]"; echo "$lyric_array[3]"; echo "$num_comments"; echo "$lyric_array[2]"; echo "Buy at Amazon.com"; $ltotalv = $ltotalv + $

[PHP] Re: ARRRRGGGGHHHH! Weird Problems!

2002-08-01 Thread Tony Harrison
OK, the color works, but now I have 2 empty lines "Tony Harrison" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Thanx, I havent tried the loop yet, but the color will work im sure . > > "Aaron Ott" <[EMAIL PROTECTED]> wrote in message > [E

[PHP] Re: ARRRRGGGGHHHH! Weird Problems!

2002-08-01 Thread Tony Harrison
Thanx, I havent tried the loop yet, but the color will work im sure . "Aaron Ott" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > tony, > > regarding problem one, it looks like there is a problem in the code near: > for ($g = 0; $g < $num_lyrics; $g ++) { > > t

[PHP] Re: ARRRRGGGGHHHH! Weird Problems!

2002-07-31 Thread Aaron Ott
tony, regarding problem one, it looks like there is a problem in the code near: for ($g = 0; $g < $num_lyrics; $g ++) { try doing: for ($g = 0; $g <= $num_lyrics; $g ++) { As for problem two, it looks like you have your color variable set in the for loop thereby resetting the color variable to