Jump to content

Is this right?


Blame

Recommended Posts

if (($submit) && ($location == "delete")){

if ($_POST['radio']){

foreach($_POST['radio'] as $val){

 

mysql_query("DELETE FROM `topics` WHERE `id` = '$val' LIMIT 1")or die(mysql_error());

 

$upd = "Topics deleted.";

upd($upd);

 

print ("<META HTTP-EQUIV=\"refresh\" content=\"1; url=forum.php?forum=".$forum."\">");

 

}

Link to comment
https://forums.phpfreaks.com/topic/163983-is-this-right/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.