prepare("INSERT INTO events (title, accountid, events.date, description, color) VALUES (?,?,?,?,?)"); $sth->execute(array($_POST['title'], $creater, $_POST['date'], $_POST['description'], $_POST['color']));