|
I was trying to put html in php echo. I did it perfectly before but i lost the finished script. I put the html in bold.
<?php
define('IN_PHPBB', false);
$phpbb_root_path = '/home/somplan/public_html/forums/';
include($phpbb_root_path . 'extension.inc');
include($phpbb_root_path . 'common.'.$phpEx);
//
// Start session management
//
$userdata = session_pagestart($user_ip, PAGE_INDEX);
init_userprefs($userdata);
//
// End session management
//
if ( $userdata['session_logged_in'] ) {
$username = $userdata['username'];
echo ("Welcome $username <a href="http://forums.somplanet.com/logout.php>Log Out</a>"); } else {
echo('
This is where i put the html for the Login Forum
');
}
?>
|