Welcome Page with login name
I completed the basic portion of the login page, but I am having a problem with showing the name of the login person.
I have it working on the local server, but I get a msg. Here is the code and after that, the msg I get from trying to run it.
Hopefully, somebody has an idea.
<?php if(!session_id()) session_start(); ?>
<?php echo $_SESSION['VisitorFirstName']; ?> <?php echo $_SESSION['VisitorLastName']; ?>
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/cragdire/public_html/welcome.php:7) in /home/cragdire/public_html/welcome.php on line 46
thx
Mike