Hi there
I'm reasonably new to the whole MySQL scene,
I can't seem to get my MySQL update code to work, I'm guessing it's a syntax issue:
$db = mysql_connect("localhost", "NOTTELLING", "NOTTELLING");
mysql_select_db("moriacps",$db);
$sql = "UPDATE compnotes SET lu_date = $todaysdate, tname = $name, trole = $trole, tcomment = $trole, trate = $trate WHERE id = $id";
$result = mysql_query($sql);
All the variables are right, and I don't get any PHP errors which makes me think the MySQL code it's the trouble.
cheers,