On Fri, Oct 03, 2003 at 11:27:25AM +0800, [EMAIL PROTECTED] wrote: : : 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. Eugene Lee <[EMAIL PROTECTED]> wrote: If you're on a system that has global variables disabled, you must switch to the superglobals. <td bgcolor="$_GET['colour']"> cell1 </td> or: <td bgcolor="$_POST['colour']"> cell1 </td> >>>>>>How to switch to the superglobals??Go php.ini and uncomment "superglobals"??... Regards, Irin. Sorry misinterprete your message earlier on. I managed to get it solved. Thanks alot for your help anyway=) Have a nice day. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php