Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: HTML/PHP help

  1. #1
    New to the CF scene
    Join Date
    Jul 2014
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Lightbulb HTML/PHP help

    So I was wondering how I would go about creating a system where when a user first signs up a user page would be created for them when they clicked on the submit button. The user page would need to have an empty field which would be filled in using the username they supplied in the sign up form.

    Any ideas?

  • #2
    Senior Coder
    Join Date
    Jan 2011
    Location
    Missouri
    Posts
    4,692
    Thanks
    25
    Thanked 657 Times in 656 Posts
    Not only do you go to the 'users page' after registering, which involves writing to a database, you go there after log-in, which involves reading from a database. Both use the username at sometime. Both should make a sessions variable of the username and both should go to the 'user page' which is a PHP file, in the header of this file the sessions' variable is retrieved and echoed to the page in the correct place.

    You do know PHP?
    Evolution - The non-random survival of random variants.

    "If you leave hydrogen alone, for long enough, it begins to think about itself."


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •