Hi, I've create a login form in php, where users can put their name, pass and team. How can I creat a wellcome message, like "wellcome 'user' you team is X." In other words I want to retreive information of the mysql table in echo in the page.
function displayLogin(){
global $logged_in;
if($logged_in){
echo "<h1>Logged In!</h1>";
echo "well come <b>$_SESSION[username], your logged. <a href=\"logout.php\">Logout</a>";
}
else{
Thanks