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
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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.