Jump to content

Archived

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

diablo12

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

Share this post


Link to post
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.

Share this post


Link to post
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!

Share this post


Link to post
Share on other sites

×

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.