$_GET["text"], "cw" => $_GET["cw"], "iscwed" => $iscw, "time" => $curTime, "ispublic" => $_GET["public"], "isrespondedto" => False ); pg_insert($db, "data", $dataArray); header("Location: index.php?sent=1"); ?>