Help with Sql Query

lol,
I'm stuck on my second sql query. Not sure what I'm doing wrong here. The error is thrown on the prepare statement. It says unexpected "", but there's no extra quotes. It also says expecting a variable of some kind.
I know that I couldn't get my insert statement to work inside phpmyadmin under sql, so there's probably something wrong with the statement all together..

PHP:

 

 $db = new PDO($dsn, $dbUserName, $dbPassword);

       

 $sqlStatement = $db->prepare("INSERT INTO…

Help with Sql Query

See original post by Jeremy Benson

Leave a Reply