phpMoot
Author: phpMoot February 28, 2011 0 Comments
PHP - MySQL
The given PHP example helps you to delete the data from MySQL database against a specific Id. Code Example:
<?php $query = "DELETE FROM tablename WHERE id = ('$id')"; $result = mysql_query($query); echo "The data has been deleted."; ?>
← Previous post
Next post →
Your email address will not be published. Required fields are marked *
Save my name, email, and website in this browser for the next time I comment.