Hi all:
        Having some problems right here. Below are a snip my codes:

<td bgcolor=<? echo"$_POST[colour]"?> class="Devi" width="15%" align="center" 
valign="middle"><a href="class.php">2PE1012</a></td>
.
.
.
<select name="colour" class="textarea">
<option name= "Grey" value="#dedede">Grey</option>
<option name="Pink" value="#FFB6C1">Pink</option>
<option name="Blue" value="#87CEEB">Blue</option>
<option name=Yellow value="#FFFF00">Yellow</option>
<option name="Cyan" value="#AFEEEE">Cyan</option>
</select>
<BR><BR>
<input type="submit" name="submit" value="submit" align="center">


What I am trying to do here is to create a table where I can change its cell
color by selecting the colors from the drop down menu.
The cell colour managed to change to the colour I want but whenever I open the
page on a new browser, the colour turned out to be a combination of all my
colours. How can I make it in the sense that this cell colour can be changed
permanently to the colour I want(even when I reopen this file using a new
browser) until I changed the colour again.
Futhermore, how can I store the colour code into the database(MySQL)???
Any special datatypes for that?

Hope to get some help.
Thanks.

Regards, 
Irin.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to