|
|
 |
Re: FN-FORUM: Stupid question
date posted 3rd October 2006 19:11
I demand that David Long [EMAIL REMOVED] may (or may not) have written:
>
> [EMAIL REMOVED] wrote:
> > I was wrong it still doesn't work..
> > [snip]
>
> I think the first method should work if you use "and" or "&&"
> (logical operators) instead of just "&" (bitwise operator, which
> doesn't do what you want here).
>
> The second method doesn't work because an empty string "" is not the
> same as an unset value, which is what you get if Delete doesn't
> exist in the $_POST array at all. Instead, try:
>
> if (isset($_POST['Delete'])) {
OTOH I could be getting too simple :-)
Steve
--
Steve Turnbull, [EMAIL REMOVED]
Web Content Author
Mob: 07006 311 114
Fax: 0871 989 5650
http://www.theWordsmith.net/
... The man who fell into an upholstery machine is fully recovered.
|
 |
|