I recently added PDO support to our server. Not surprisingly, some php scripts that worked before this update are now glitching up. I have a very simple script that updates a field in a database when a form is submitted. This SQL statement works when I execute it in phpMyAdmin. When the form is submitted, it does not work; however, I don't get an error message. Everything in the targeted field in the database gets erased. Nothing gets updated.
Here is my code. Anyone have an idea what's going on? I know this has to be something stupid that I'm missing.
$sqlone = "UPDATE specials SET content = '$content' WHERE label = 'specials'";
$queryone = mysql_query("$sqlone", $con);