Quote:
Originally posted by CroMagnon
Good catch. I've always hated that about PHP - it tells you there's a problem with line 30, and you look at line 30 until your eyes bleed, but you can't see any problem... then you realise you left the semicolon off line 29.
One other thing you might want to fix - you're assigning $color twice, but you don't need to. You do, however, need to do it inside the while loop or it will never change. Move line 28 to line 31, and remove the current line 31 (also remove the line that sets the $colours array since you won't need it with the new method).
If you copied Cedrik's code exactly as written, then you are missing the $row[0] part that needs to be after the <img> tag.
|
Im a fool, iŽve paste to you the wrong code the one that worked was with the colour part corrected. Now im driving crazy with the flash showing movie, i really complicated for me i donŽt quite understand actionscript logic, but i think iŽll just work it out!