When using your code (amatulic), I get
Quote:
Fatal error: Call to a member function query_first() on a non-object in /home/lordy/domains/animefill.com/public_html/project/forum/includes/class_dm_user.php on line 380
|
I'm passing the variables this way
PHP Code:
$userdata['userid']=$_POST['uname'];
$userdata['password']=$_POST['password'];
$userdata['email']=$_POST['email'];
$errmsg=$forum->register_newuser($userdata);
line 380 is
PHP Code:
else if (htmlspecialchars_uni($username_raw) != $this->existing['username'] AND $user = $this->dbobject->query_first("