Jump to content

[SOLVED] db will not be deleted :S


runnerjp

Recommended Posts

here are my bits of code

 

<form name='input' action='index.php?page=delete&msgid=<?php echo $_REQUEST['msg_id'];?>' method='post'>

      <input name="delete" type="submit" class="submit-btn" value="">
    
</form>

 

  <?php if(isset($_POST['delete']))
{
      $delete="DELETE FROM messages WHERE id='$getthreads3[reportreason]'";
      mysql_query($delete) or die("Could not delete post"); //insert post
      print "deleted ";
   }
?>

##but for somereason it will not delete... am i missing something here?

Link to comment
https://forums.phpfreaks.com/topic/117872-solved-db-will-not-be-deleted-s/
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.