$result = mysql_query("INSERT INTO categories (cd_title , cd_link )
VALUES ('$docuTitle','$linkTitle')");
This works fine, but i want to update these values in another field in same table. Once these two are successful i need to pass return values.
$result = mysql_query("UPDATE into categories WHERE c_name = '$catID'");
I know that i am not using mysql escape or PDO...