Good God, I've been stuck for like 2 hours, I suppose I can't think clearly anymore, but I just don't see why the statement below won't work, please help me out :
<?php session_start();
$username = $_GET['username'];
$db = new PDO('mysql:host=localhost;dbname=subscribers', 'root', '');
$sql = "INSERTO INTO users (username) VALUES (?)";
$stmt = $db->prepare($sql);
$stmt->execute(array($username));
?>
There are no errors after the query is ran, however the value is not inserted, nothing happens!