pliz help ma have this code but it doesnt delete records ,am tuck what could be the problem,thanks
here is the code
<?php
require_once('Connections/Database.php');
mysql_select_db($database_Database, $Database) or die("Unable to select database");
$aa=$_POST;
$bb=$_POST;
mysql_query("DELETE FROM doctor WHERE dID='$aa'");
$checkresult=mysql_query($query) ;
if ($checkresult) echo 'delete query succeeded';
else echo 'delete query failed';
mysql_close();
?>