Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call to undefined function: isvalidinput()

Status
Not open for further replies.

dispid

Programmer
Apr 5, 2001
10
US
Hi.. im getting a nasty error that i hope someone can give me some help on. below is a code snippet...


class NewLoginAgent {
/* private */
var $newLogin, $err;

/* public */
function &getNewLogin($familyID, $fName, $birthMonth, $birthDay) {
/* create return object */
$this->newLogin = new NewLogin($familyID, $fName, $birthMonth, $birthDay);

/* validate user input */
if (!$this->isValidInput()) {
return PEAR::raiseError($this->getErr()); }

/* return a pointer to $this->newLogin */
$newLogin_ = &$this->newLogin;
return $newLogin_;
}
}

there is more to my class and the functions that are called work fine... it is a syntax error i think somewhere above. anyway, i get the following error..

Fatal error: Call to undefined function: isvalidinput() in /var/ on line 45

isValidInput() is defined in my class i just did not include it in the snippet above.. something is weird here.. please help... the page dies on:
if (!$this->isValidInput()) {
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top