Trying to use Sessions and Get variables in the form ...
Returns me an error stating
Parse error: parse error, unexpected T_BAD_CHARACTER, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/user/public_html/acct_gallery_upload.php on line 78
$photo_category_list = $_SESSION['userid'];
// Final Output
$output = <<<__HTML_END
<font face = "verdana" size = "2">
<form enctype="multipart/form-data"
action="gallery_upload.php" method="post"
name="upload_form">
<table width="90%" border="0"
align="center" style="width: 90%;">
<!—Insert the image fields here -->
$photo_upload_fields
<tr><td>
<input type="submit" name="submit"
value="Add Photos" />
// trying to use these variables
<input type="hidden" name="id" value="$_SESSION['userid']">
<input type="hidden" name="gid" value="$_GET['gid']">
// end problem with code
</td></tr>
</table>
</form>
</font>
__HTML_END;
What im i doing wrong / what could i do to be able to use these variables?