Jump to content

Help with User login


Recommended Posts

Greetings,

I have a fairly simple login system going on..user signs up for account, if its taken it tells them to choose new login name, if its not taken it creates the account. What i'd like to know is how to I create so when the user logs into the system (Using user name & password), i want to display there FULL Name (Such as how Amazon does). What would I need to use? I'd appreciate any help. Im using Dreamweaver MX - I have a little bit of PHP knowledge - and not too much MYSQL knowledge..just a little bit.

 

Regards,

Kevin

Link to comment
https://forums.phpfreaks.com/topic/1862-help-with-user-login/
Share on other sites

<?php

echo "Welcome ". $_SESSION['username'] ";

?>

 

Where the session is specified as username this denotes the form field from the information you wish to display.

ahh yes but we have to make sure that the session originally starts his login system might just lead them to a normal page, not a page that checks to see if they are logged in!

Link to comment
https://forums.phpfreaks.com/topic/1862-help-with-user-login/#findComment-6109
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.