Hello everyone, I've just got started learning Session Controls and below is the first program I tried, when I test the code in browser it says:
Parse error: parse error in d:..\sessions\page1.php on line 4
<?php
session_start()
$_SESSION['sess_var'] = "Hello Sessions!"; // This is where it gives error
echo 'The content of $_SESSION[\'sess_var\'] is '. $_SESSION['sess_vars'] .'<br />';
?>
Now what am I doing wrong here?