Tips, Trick, Mengatasi Masalah Komputer, Membina Website & Programming

PHP Code : Delete Record



<?php
require_once('connect.php');
$sql = "DELETE FROM tablename WHERE id='1'";
mysql_query($sql,$connect)or die(mysql_error());
?>

0 comments: