Topic: User Class Additional Fields/registration (Read 1109 times)
Google dot what?
Gender:
Posts: 2
16 credits Members referred : 0
« on: Apr 20, 2010, 12:51:07 am »
Hi, Firstly, thanks for the class, it was just what the doctor ordered. I have got it working, but I am struggling a bit with the registration.
I created a few extra fields in my database table (Firstname, Surname) and if I capture the data directly (i.e. if the fields are already populated) then I can retrieve it pretty easily. What my problem is, is that when I try to register a new user, it falls over.
Code:
Fatal error: Call to a member function insertUser() on a non-object in /usr/www/users/justdo/ROH/pages/register.php on line 17
Which as far as I can see is all I should have to do.
Anyone know what I am doing wrong? Thanks John
PS: I'm quite proud of the way I created the login form. Check it out on www.justdone.co.za/ROH/
Google dot what?
Gender:
Posts: 2
16 credits Members referred : 0
« Reply #1 on: Apr 21, 2010, 08:40:36 am »
Quote from: BoonDock
I have got it working, but I am struggling a bit with the registration. Anyone know what I am doing wrong?
Ok.. so I found the error for myself.. *slaps hand HARD into forehead* ... I forgot that the call to the insertUser function was within a display function on my page. Fixed now.. JD
Trackback URI for this entry : http://www.webdigity.com/trackback.php?topic=9891