Hello,
First of all I wanted to know, what means echo’. Not “echo” I mean “echo’”
Second question I want to add something where it says you are logged in as $username. but it doesnt work… any help?
[php]<?php
session_start();
include “auth.php”;
$username = $_SESSION[‘username’];
//Require header.php
require(‘header.php’);
echo "<h3>HERE IT WORKS $username</h3>";
echo'
<span class="clear upperframe"><span></span></span>
<div class="roundframe"><div class="innerframe">';
echo'
//here it doesn't...
<div class="cat_bar">
echo "<h3 class="catbg">Ingame CP Logged in as $username</h3>";
</div>
//here it isn't working too
<p>You are logged in with $username! =).</p>';
echo'
</div></div>
<span class="lowerframe"><span></span></span>';
//Require Footer,php
require(‘footer.php’);
?>[/php]
I think it has something to do with the echo’ but I rly don’t know… Hope for help…
And when I try to remove the echo’ this error appears:
[12-Feb-2014 06:41:49 America/Los_Angeles] PHP Parse error: syntax error, unexpected '<' in /home/flyingre/public_html/ingame/login-index.php on line 18
All regards, Mark