Hi really quick question, i was wandering how i can output a string alongside a username which is generated using sessions
i want the code to say something like : "Welcome, (username)"
This is my code so far which outputs the username of the person logged in, but i want to add "welcome" in front of the username.
<?php
if (isset($_SESSION['username'])){
echo '<div id="welcome_msg">' .$_SESSION['username']. '</div>';
}
?>