<?php require "config.php"; $result=mysql_query("DELETE FROM rand WHERE id='$id'") or die(mysql_error()); ?>