MySQL Deleting information
Deleting information
<?
$db = "1book";
$table = "_info";
$link = mysql_connect("localhost","root","pass") or die("Couldn't connect to MySQL");
mysql_select_db($db , $link) or die("Couldn't open $db");
mysql_query("DELETE FROM $table WHERE id=2");
mysql_close($link);
?>