I am new to SQLite and PHP so sorry about this newbie question.
If i use fixed numbers for the values here it does not throw an error, but this does..?
if (isset($_POST['l'])) {
$query ='INSERT INTO clickmap (x, y, location) ' .
'VALUES (' . $_POST['x'] . ',' . $_POST['y'] . ',' . $_POST['l'] . ') ';
Thanks in advance.
Your concatenations are wrong, I can’t understand nothing from that, you can try this: