LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 09-13-2004, 07:27 PM   #16
emilioestevezz
Member
 
Registered: Jul 2003
Posts: 38

Original Poster
Rep: Reputation: 15
...


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, ive 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 dont quite understand actionscript logic, but i think ill just work it out!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
MySQL results to html forms using PHP xemous Programming 3 08-15-2005 04:27 PM
Painting the row of a data grid a color in VB.net mrobertson Programming 1 07-30-2005 05:22 PM
MySQL - Warning: mysql_result(): Unable to jump to row 0 on MySQL result index 9 jasontn Linux - Software 0 02-09-2005 01:17 PM
MySQL Row Limit agallant Programming 1 06-25-2004 12:16 PM
PHP & MySQL, working, and yet getting a blank results page linxtc Programming 5 08-24-2003 05:51 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration