Hi everyone,Is there something wrong with this query? it will not update the table, even though all the variables are fine.
SET Title="$title", Post="$post"
Try switching the single and double quotes around.
thanks, i ended up doing that and just separating it like this:
$updateQuery = "UPDATE Blog
Title = '$title',
Post = '$post'
WHERE id = '$entry'";
$update = mysql_query($updateQuery, $con);
and it worked.
This topic is now closed. New replies are no longer allowed.