Sun Oct 26, 2008 7:10 pm
<html>
<body>
<?php
$cnx = mysql_connect('server','user','password');
mysql_select_db('dbname');
$id = '1';
$ok1 = @mysql_query("DELETE FROM Employee WHERE ID='$id'");
if ($ok1) {
echo('<p>Author deleted successfully!</p>');
} else {
echo('<p>Error deleting author from database!<br />'.
'Error: ' . mysql_error() . '</p>');
}
?>
</body>
</html>
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.