can anyone tell me if there is anything wrong with this query i must have been over it again and again about 100 times
and i cant find nothing wrong however i get the die("error message")
$sql = "UPDATE custom set bgcolor='$bgcolor', table='$table', fontface='$fontface', fontsize='$fontsize', fontcolor='$fontcolor', link='$link', active='$active', visited='$visited', hover='$hover', linksize='$linksize', linkface='$linkface' WHERE username='$_COOKIE[user]'";
$query = mysql_query($sql) or die("could not update styles");
$rows = mysql_affected_rows();
thanks Jon