Hello-
To my great suprise Ive somehow managed to create a syntax error in a long update which looks flawless to my eyes...
$result = mysql_query("UPDATE liste SET deg='$yuzde', on='$onc', son='$son', tab='$tab', tav='$tav', a='$a', b='$b', c='$c', ca='$ca', cb='$cb' WHERE hisse='$h'")
or die(mysql_error());
All variables are decimal numbers (some are negative) $h is a word.
Error:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'on='6.05', son='7.00', tab='6.15', tav='7.55', a='0.55', b='0.95', c='-0.1', ca=' at line 1
Im using varchar for $h and int for all other variables...
ca = c/a = -0.18 by the way
Any ideas? :queasy: