if(isset($_POST['save'])){
$usergroup = $_POST['htmlname_usergroup'];
$htmlname_html1 = $_POST['htmlname_html1'];
$htmlname_html2 = $_POST['htmlname_html2'];
$result3 = dbcount("(htmlname_usergroup)", DB_HTMLNAME_TABLE, "htmlname_usergroup = '".$usergroup."'");
if($result3 != 0){
$update = dbquery("UPDATE ".DB_HTMLNAME_TABLE." SET htmlname_html
= '".$htmlname_html1."', htmlname_html2
= '".$htmlname_html2."' WHERE htmlname_usergroup
= '".$usergroup."'");
}else{
$insert = dbquery("INSERT INTO ".DB_HTMLNAME_TABLE." (htmlname_id
, htmlname_usergroup
, htmlname_html
, htmlname_html2
, use_group
) VALUES (NULL, '".$usergroup."', '".$htmlname_html1."', '".$htmlname_html2."', '1');");
}
}
htmlname_usergroup
VARCHAR( 255 ) NOT NULL,htmlname_html
TEXT NOT NULL,htmlname_html2
TEXT NOT NULL,Category Forum
Suspected Bugs and Errors - 8Labels
None yet
Statistics
3 participants
Notifications
You are not receiving notifications from this thread.
Related Questions