NOTE: mysql_*
deprecated, so try to use PDO
or mysqli_*
.
Simple way:
" ;
header("Location: databse.php");
}
mysql_close($con);
}
YOUR PHP:
while($row = mysql_fetch_array($result))
{ $spaces = " ";
echo "";
echo "" . $row['ID'] ." ";
echo "" . $row['Name'] . $spaces." ";
echo "" . $row['Cause'] . $spaces." ";
echo "" . $row['Symptom']. $spaces." ";
echo "" . $row['Gene_affected'] . $spaces." ";
echo "";
echo "Delete row".$spaces." ";
echo "";
echo "modify".$spaces." ";
echo " ";
}