PDA

View Full Version : Will not diplay name on welcome page


MJS
04-20-2007, 12:19 PM
Hi
I have a problem with my welcome page I can not display the user name.
I have tried this echo $id = $_SESSION['id']; and this works fine it puts the name on the page take out the echo and it will not display.
It will not put it ware I want it to go in the editregion on the page this is the code for that <p><span class="style9">Welcome to the Members Page</span>
<?php echo $rowAccount['user_name'];?>
</span></p> What am I doing wrong or is it because i am putting it in a editrion....

davidj
04-20-2007, 03:17 PM
try this then

<?php echo $id;?>

MJS
04-20-2007, 08:12 PM
Thank you David that works fine that is one thing I did not think of....