|
|
 |
Re: FN-FORUM: Stupid question
date posted 3rd October 2006 17:36
[EMAIL REMOVED] wrote:
> I was wrong it still doesn't work..
>
>I have
>
>title="Update the Booking" onClick="JavaScript: return validate_form();">
> title="Delete the Booking">
>
>and I am using
>
>
>if ($_POST['Delete'] !== "" & trim($_POST['Delete']) == "Delete Booking") {
>
>
>I have also tried various other combinations.
>
>
>
>if ($_POST['Delete'] !== "") {
>
>goes into that bit of code even though I haven't posted the form
>
>
>
>Pam
>
>
Not much help I know - but it works fine for me!
e.g. file "form.php":
I'm assuming you have the form action and method set up correctly?
Steve.
|
 |
|