Hi to all,
I found this error in my code:
class BaseForm {
var $_fields;
var $_method;
var $_postedData;
var $_formAction;
....
....
function init($eMsgFile,$method,$formAction) {
...
...
$this->_method=strtoupper($method);
----->>> Why next line gives me the error "variable _POST is undefined" ??? <<<------
$this->_postedData=${"_".$this->_method};
$this->_formAction=(empty($formAction))?basename($_SERVER['PHP_SELF']):$formAction;
}
Is it normal????
Thank you a lot!
KidA
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php