/ Published in: PHP
Used to delete rows from the database. \r\nTo use:\r\n$del = delete(\"quick_links\", $_GET[\'id\']) ;
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//Delete function delete($table, $value){ $delete_sql = querys("DELETE FROM " . $table . " WHERE id = '" . $value . "';"); }//end delete //To use: $del = delete("quick_links", $_GET['id']) ;
URL: linkdeo.net