sabret00the
01-20-2005, 02:45 PM
$DB_site->query("
UPDATE grps_post(pagetext, edit_username, edit_userid, edit_reason, edit_dateline, allowsmilie)
VALUES ('" . addslashes($newpost['message']) . "', '" . addslashes($bbuserinfo[username] . "', '" . $bbuserinfo[userid] . "', '" . addslashes($edit['reason']) . "', " . TIMENOW . ", 1)
WHERE postid = $postid
");
how should this be written?
UPDATE grps_post(pagetext, edit_username, edit_userid, edit_reason, edit_dateline, allowsmilie)
VALUES ('" . addslashes($newpost['message']) . "', '" . addslashes($bbuserinfo[username] . "', '" . $bbuserinfo[userid] . "', '" . addslashes($edit['reason']) . "', " . TIMENOW . ", 1)
WHERE postid = $postid
");
how should this be written?