[Solved] PHP MYSQL INSERT help no errors [closed]
[ad_1] The following worked for me: I have to point out that you can’t use $postedOn = now(); as a variable to post the current time/date. It needs to be entered as part of the VALUES I.e.: VALUES(:videoId,:username,NOW())”; Do note that I used $pdo as the connection variable. <?php $mysql_hostname=”xxx”; $mysql_username=”xxx”; $mysql_password = ‘xxx’; $mysql_dbname=”xxx”; … Read more