Happy hump day!!
I'm having this problem with a class I'm working on. This is the error I'm getting: Parse error: parse error, expecting `T_VARIABLE ' in /Users/serge/Sites/wineries/include.inc.php on line 13
Line 13 in my original include file is on the 'var $formatted_all' statement of the contentious class.
The link I've included contains the class in question only. Link: http://www.creativegroup.ca/benard/fetch_media.txt
Could anyone tell me: what's the deal-ee-oh? The link to the text file
You need dollar signs in front of the variable names. class fetch_media { var $formatted_all; var $media_get;
I didn't look any further so there may be other problems as well.
At a glance you should be using:
var $formatted_all; var $media_get;
oh, and $this->media_get not $this->$media_get