On Wed, 2004-07-21 at 19:26, Del wrote:
> Howard Lowndes wrote:
> > I am trying to test the status of a value passed to a PHP program as a
> > POST parameter, specifically a SUMBIT button, thus:
> >
> > if (empty($_POST['button'])) {....
>
> My gut feel (without seeing the entire script) is that 'button' is
> a "reserved" word on a form, and somehow that's propagating to your
> PHP code. Try changing the variable name to something else, eg:
> "submit_button" or something.
Again I confuse. I used "button" just to be generic, in fact it is
called "btnGenerate" and returns the value "GENERATE", so your comments
are not applicable.
>
> --
> Del
--
Howard.
LANNet Computing Associates;
Your Linux people <http://www.lannetlinux.com>
------------------------------------------
"When you just want a system that works, you choose Linux;
when you want a system that just works, you choose Microsoft."
------------------------------------------
"Flatter government, not fatter government;
Get rid of the Australian states."
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html