Cod: Selectaţi tot
<?php
session_start();
$_SESSION['name'] = 'ok';
$x = "sesiunea este ";
if(isset($_SESSION['name'])){
echo $x + $_SESSION['name'];
}
?>
Imi da urm eroare :
Parse error: syntax error, unexpected 'name' (T_STRING), expecting ',' or ';' in D:\server\htdocs\conectare.php on line 7