Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $con = mysql_connect("localhost","peter","abc123");
- if (!$con){
- die('Could not connect: ' . mysql_error());
- }
- mysql_select_db("my_db", $con);
- mysql_query("DELETE FROM Persons WHERE LastName='$_POST['table_data']'");
- mysql_close($con);
- ?>
Add Comment
Please, Sign In to add comment