Posted by tank Sat 24th Mar 2007 03:34 - Syntax is Java - 30 views
Download | New Post | Modify | Hide line numbers
  1. if ( isset($_POST['action']) && $_POST['action'] == 'delete' ){
  2.  
  3. $delete = $_POST['delete'];
  4. mysql_query("DELETE FROM news WHERE id = '$id'") or die("Delete Error: ".mysql_error());
  5.  
  6. print "Record Removed.\n";
  7. }

PermaLink to this entry https://pastebin.co.uk/12164
Posted by tank Sat 24th Mar 2007 03:34 - Syntax is Java - 30 views
Download | New Post | Modify | Hide line numbers

 

Comments: 0