RE: [PHP] Dynamic tables-Change cell colour with drop down menu[Scanned]

From: Date: Fri, 03 Oct 2003 03:27:25 +0000
Subject: RE: [PHP] Dynamic tables-Change cell colour with drop down menu[Scanned]
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-164843@lists.php.net to get a copy of this message
Hi : I have tried using the methos you have mentioned. But it was not successful as the cell doesn't seem to be able to GET the COLOUR selected from the drop down menu. This is a small part of my code : <td bgcolor="$colour"> cell1 </td> & <select name="colour"> <option value="#ff0000">Red</option> <option value="#dedede">Grey</option> <option value="#DCDCDC">white</option> <option value="#FFB6C1">Pink</option> <option value="#87CEEB">Blue</option> <option value="#FFFF00">Yellow</option> <option value="#AFEEEE">Cyan</option> </select> No matter which colour I select. The cell only stay at "black" colour. I wonder why?Need some help here. Regards, Irin.

« previous php.general (#164843) next »