prepare("INSERT INTO post VALUES (NULL,?, ?, ?, ?,NOW(),NOW());"); if ($sql) { $sql->bind_param("isss",$userid,$title,$meta_desc,$text); $sql->execute(); $sql->close(); } $mysqli->close(); header ("Location: ./"); ?>