Sun Oct 26, 2008 7:08 pm
<?php
mysql_connect("server","user","password");
mysql_select_db("dbname");
$rowID = "001";
$query = "DELETE FROM Employee WHERE ID='$rowID'";
$result = mysql_query($query);
if ((mysql_affected_rows() == 0) || mysql_affected_rows() == -1) {
echo "<p>There was a problem deleting some of the selected items.</p>";
exit;
}
?>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.