Please on php script, i have an error message

Hi Everybody,

Could you please help with my code, i have tried found the error in the script but it could not find. the error message is this

Parse error: syntax error, unexpected ‘.’ in C .

I have a look many times at the script, but i cant find the issue; here is the complete code

[php]<?php
session_start();

if (isset($_SESSION[“SESS_CHANGEID”])== TRUE) {
session_unset();
session_regenerate_id();
}
require(“config.php”);
?>

<?php echo $config_sitename;?>

Home -

View Basket/Checkout

<?php require("bar.php"); echo "
"; if (isset($_SESSION['SESS_LOGGEDIN'])== TRUE) { echo"Logged in as " . $_SESSION['SESS_USERNAME'] . " [logout]"; } else { echo "Login"; } ?>
[/php]

Thanks

Here,
[php]echo"Logged in as " . $_SESSION[‘SESS_USERNAME’] . "
[logout]"; [/php]

And here
[php] echo “Login”;[/php]

Are your syntax errors.

Sponsor our Newsletter | Privacy Policy | Terms of Service