Parse Error - unexpected T_STRING, expecting T_OLD...
Posted: Sun Feb 17, 2008 4:19 am
I've just transferred my code from my computer to a web server and trying to get around a few problems that are arising (ie. none of my code seems to work).
One of the errors I'm getting is as follows: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' .
And here's the code:
The web server version of PHP is 4.4.7 (which is funny because they told me they used version 5!!) and my version which was working on my computer was version 5.2.1.
One of the errors I'm getting is as follows: Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' .
And here's the code:
Code: Select all
session_start( );
require_once("input_page.php");
require_once("input_field.php");
class input_set
{
protected $previous_image, //ERROR OCCURS HERE
$next_image,
$submit_image,
...