I'm a noob at code. I got a template, and the subscribe.php form doesn't seem to work. It is managing to create a table in a sample.db file, but no data is being written into it. I get this warning when I run an XHR:
Warning: PDOStatement::bindValue() expects parameter 3 to be long, string given in ../subscribe.php on line 51
line 51 being: $statement->bindValue(':email', $POST['subscribe'], SQLITE3TEXT);
the email in question: email@example.com
I have spent hours rooting around, but being a noob, haven't got far. Could someone please suggest what to do to find why it isn't working. WEBSITE: http://ecosquared.co.uk, subscription field...