Unexpected T_VARIABLE usally means that php was parsing your code, but something unexpected came up as the next characters.
So when parsing your code
$user = $_SESSION['user'] $sesssion_id = $_SESSION['sessionid']
The php parser will get past "$user = $_SESSION['user']", but it expects the assignment to finish with another semi-colon. Without the semi-color it is expecting another assigntment like concatenation or math, however it runs into another assignment and will throw the Unexpected T_VARIABLE.
$sesssion_id = $_SESSION['sessionid']
This is your next block of code, and as everyone else has suggested, the way of fixing the parsing error (the unexcepted T_VARIABLE) is to add a semicolon ( ; ) to let the parser know to start parsing another statement.