Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
Thread: HTML/PHP help
07-19-2014, 02:53 PM #1
- Join Date
- Jul 2014
- Thanked 0 Times in 0 Posts
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.
07-19-2014, 03:46 PM #2
- Join Date
- Jan 2011
- Thanked 693 Times in 691 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."