Thanks for the reply.
i have pasted the code below. its just a very simple script that i have had working in the past on non php forms.
<!-- some javascript to change the action of the button -->
<script language=javascript>
function Onnew()
{
document.Form.action = "menu.php"
document.Form.submit(); // Submit the page
return true;
}
</script>
</head>
<body>
This is the job you have choosen to delete<br>
<form action="insert_del_job.php" method="post" name="form">
<input type="text" name="job_id" value="<?print $job_id;?>"><br>
<b><?print $job_id;?></b><br>
<b><?print $job_ref;?></b><br>
<b><?print $job_title;?></b><br>
<b><?print $job_type;?></b><br>
<b><?print $location;?></b><br><br>
Are you certain that you want to delete this item?<br>
<input type="submit" value="Yes">
<input type="button" name="new" value="No" onClick="return Onnew();">