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.p hp>
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($qu ery); }
;
mysql_close($co n);
?>
Kind Regards
Webandwe
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.p hp>
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($qu ery); }
;
mysql_close($co n);
?>
Kind Regards
Webandwe
Comment