T_VARIABLE refers to a variable token (e.g. $foo) found in your file when the PHP parser was expecting something else.
the very common typo; e.g.: (note the end of line 3 below)
<? $foo = 'hello world'; echo $foo $bar = $foo; ?>
PHP parser token overview: http://www.phpbuilder.com/manual/tokens.php
Stuart wrote:
Rolf van de Krol wrote:
Does anybody know what this error can meen? Parse error: parse error, unexpected T_VARIABLE in /www/htdocs/rolfvand/thinkquest/browsercheck.php on line 46 What is a T_VARIABLE?
Could be an unclosed quote, or a number of other things. Post a few lines around line 46 and we can probably help.
T_VARIABLE is PHPs internal representation of a variable (I could be wrong).
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php