prepare("INSERT INTO jokes_jokes(uid,ts,joke) VALUES(?,?,?)"); $stm->execute(array($_SESSION["uid"],time(),$joke)); header("Location: edit.php");