> I added the hidden field like so because I couldn't get "htmlentities"
to
> work:
>
>
Just hope that no one submits a $area_todelete with an " in it,
otherwise they will be able to inject any kind of HTML/Javascript/etc
they want into the resulting page.
---John Holmes...
--
PHP General
confusing.
< ---John Holmes...
Thanks guys. The intermediate page scheme worked.
I added the hidden field like so because I couldn't get "htmlentities" to
work:
I appreciate the help.
Roger
> -Original Message-
> From: Roger Lewis [mailto:[EMAIL PROTECTED]]
>
's not too confusing.
---John Holmes...
> -Original Message-
> From: Roger Lewis [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, October 01, 2002 2:51 PM
> To: Php-General
> Subject: [PHP] Confirm a Deletion
>
> I know this should be very simple, but I just don't
[snip]
The way the code is written, the record gets deleted immediately upon
clicking the submit button on page one. Is there some way I can keep the
script on page two from executing until after I press the confirmation
button?
[/snip]
One of two ways, an intermediary PHP page that asks "Are yo
I know this should be very simple, but I just don't get it.
I want to delete a record from a mysql table, but prior to deleting the
record I want to receive an option to confirm the deletion. On page one
(kb_areas_add.php) I have a form for inputting the field (area_todelete) for
the record I wa
5 matches
Mail list logo