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.

--
Del
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to