How to write PHP username welcome message inside HTML?

juxhin

New Member
This is my php code to display welcome user into the page if the username and password is correct.\[code\]$_SESSION['userName'] = $usernm;echo "Welcome ".$_SESSION['userName']."!";\[/code\]I wanted to display the variable name inside this tag, cuz my css coding hav some styles for li and href tags. Please help me... \[code\]<li><a href="http://stackoverflow.com/questions/15755544/#">Welcome User!</a></li>\[/code\]
 
Back
Top