Signup Page First and Second name problems

I would like to know the code to add first and second name fields into phpDolphin. Ive already tried to add the fields, but my coding is so wrong.

At the moment, the profile displays a username of which the individual entered upon signing up. I want the profile to display the first and second name entered at login page.

I have added this code into a file called classes.php

public $firstname; // The inserted firstname public $secondname; // The inserted secondname

and i have entered this code into the file where the login page is coded:

Remember, i didn't code this myself, its a script called phpDolphin, and i'm just trying to add to it!

I would very much appreciate some help. Thanks in advance, Will.

If you would like to see the site which contains the login page, heres the link: http://www.social.flamboyantent.co.uk/

Sponsor our Newsletter | Privacy Policy | Terms of Service