Re: [PHP] A simple problem!

2001-04-24 Thread J. Jones
On Tue, Apr 24, 2001 at 11:24:26PM +0530, Subodh Gupta wrote: > Can You figure out the mistake here...?? > > print << \n > color="#$colour[$colouroffset]">$name:\n // The problem is here.. >the value of $colour[$colouroffset] is not align=left>$dbvalue\n

Re: [PHP] A simple problem!

2001-04-24 Thread Chris Lee
your variable scope is local not the function function name() { global $variable; } -- Chris Lee [EMAIL PROTECTED] ""Subodh Gupta"" <[EMAIL PROTECTED]> wrote in message 002b01c0cce9$aa670b60$c834d6d2@subodhgu">news:002b01c0cce9$aa670b60$c834d6d2@subodhgu... Can You figure out the mi

RE: [PHP] A simple problem!

2001-04-24 Thread Johnson, Kirk
l 24, 2001 11:54 AM > To: PHP General > Subject: [PHP] A simple problem! > > > Can You figure out the mistake here...?? > > In the following code... In the function print_entry which I > am calling in some other file, I want each entry to printed > in a different col

[PHP] A simple problem!

2001-04-24 Thread Subodh Gupta
Can You figure out the mistake here...?? In the following code... In the function print_entry which I am calling in some other file, I want each entry to printed in a different colour. $colour = array("808080","80","FF00FF","FF","008080"); $colouroffset=0; function print_entry($row,$p