How would I add a message that says "$user_id Deleted" or "$user_id not found?"
<?php
$con=mysql_connect("localhost","root","");
if(!$con) {
die('could not connect:'.mysql_error());
}
mysql_select_db("final?orgdocs", $con);
$user_id = $_POST["user_id"];
$result = mysql_query("delete from account where user_id='$user_id' ");
?>