$sql_select3 = "UPDATE `pdfhash`
SET `PdfHash` = '$pdf1hash',`DateModified` = '.$date.'
WHERE `Filename` ='current.pdf'";
この SQL ステートメントは、次のエラーを返します。
Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'current.pdf'',`DateModified` = 'Thursday the 30th ' WHERE `Filename` ='.current.' at line 1