Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //DeleteData.php
- $id = $_GET['rowId'] ;
- mysql_connect("localhost","xxxxxxxx","xxxxxxx") or die("Error: ".mysqlerror());
- mysql_select_db("xxxxxxxx");
- /* Delete a record by id */
- $sql ="DELETE FROM `table` WHERE `id` = '$id'";
- echo "Row Deleted";
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement