Hi
How do I go to another URL after my php has deleted the requsted information.
Here is of my coding:
----------------------------------
<form name=example method=post action=delete.php>
Delete Heading : <input type=text name=delete><br>
<input type=submit value=Delete>
</form>
<?php
$con = mysql_connect("my logon details");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("my DB", $con);
if($_POST['delete']){ $query = "DELETE FROM contacts WHERE heading='" . $_POST['delete'] . "'"; mysql_query($query); }
;
mysql_close($con);
?>
Kind Regards
Webandwe