Hi,
I'm having problems with the update function in Sybase.
I printed out the query and copied and pasted it into Sybase database and it worked.
But, when I run it from the website, the code does not update the info in my database.
Why is that so? Is there a special command needed to use the UPDATE function?
Please help. Thanks.
echo $title;
echo $_POST["resumetext"];
if ($title != $_POST["resumetext"]){
$sql = "UPDATE resume
SET title='" . $_POST["resumetext"] . "'" . "
WHERE id = '" . $id . "'";
echo $sql;
sqlanywhere_query($conn, $sql);
$title = $_POST["resumetext"];
}