ok, i have this code below...
<?php
require_once("PEAR.php");
class NewLoginAgent {
var $newLogin, $err;
function getNewLogin($familyID, $fName, $birthMonth, $birthDay) {
$this->newLogin = new NewLogin($familyID, $fName, $birthMonth, $birthDay);
if(!$this->isValidInput()) { return false; }
return $this->newLogin;
}
function isValidInput() { return true; }
function getErr() { return $this->err; }
}
class NewLogin {
function NewLogin($familyID, $fName, $birthMonth, $birthDay) { }
}
?>
then i have a page that creates an object from a class above...
<?php
require_once("NewLogin.classes.php");
if (PEAR::isError($newLogin = NewLoginAgent::getNewLogin("112924", "Jeremiah", "07", "12"))) { }
?>
i get the error below when i run the above code...
Fatal error: Call to undefined function: isvalidinput() in /var/www/login/login_debug/NewLogin.classes.php on line 11
please help!