php notice Undefined index get rid of it
<p>how to do get rid of the Notice: Undefined index: color in C:\xampp\htdocs\cpages\cmain\userfooter.php on line 31 error </p>

<pre><code>$color = ($_POST['color']);
</code></pre>

<p>mysql_query ("UPDATE <code>theme</code> SET color = '$color'  WHERE username='plmexico'");</p>
