Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (22 sloc) 0.459 kB
<HTML>
<HEAD>
<TITLE>New Document</TITLE>
</HEAD>
<BODY>
<?php
$con = mysql_connect("localhost","root","");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("openspace", $con);
$usn = $_POST['c_id'];
$query = "DELETE from `contact_info` WHERE c_id='$usn'";
if (!mysql_query($query,$con))
{
die('Error: ' . mysql_error());
}
echo "ONE record deleted";
?>
</BODY>
</HTML>
Jump to Line
Something went wrong with that request. Please try again.