Re: HTML_QF suggestion, function isPosted()

From: Date: Fri, 10 Jun 2005 08:54:24 +0000
Subject: Re: HTML_QF suggestion, function isPosted()
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19596@lists.php.net to get a copy of this message
On Friday 10 June 2005 09:48, Ian P. Christian wrote: > I would suggest a function to check if a form has been posted. > > function isPosted() { should be: public function () { if (count($this->_submitValues) == 0 && count($this->_submitFiles) == 0) { return false; } } Sorry :) -- Ian P. Christian ~ http://pookey.co.uk

Attachment: [application/pgp-signature]
« previous php.pear.general (#19596) next »