Jay Blanchard wrote:

[snip]
More info about the parse error of my previous post:
The lines 45-46:
$mysql_query = "INSERT INTO
sessions(sessionid,ver,agent,bwinf,screenwidth,screenheight,availwidth,a
vail
height) ";
$mysql_query .=
"VALUES('$sessionid','$ver','$agent','$bwinf',$scrwidth,$scrheight,$avai
lwid
th,$availheight)";

The error is:
Parse error: parse error, unexpected T_VARIABLE in
/www/htdocs/rolfvand/thinkquest/browsercheck.php on line 46
[/snip]

All of your values are not enclosed with single quotes - the first four
are, last four aren't


I think the values should not be included inside single quotes, at least it is true for Perl, when the real values would not be assigne to.

Best

Bao

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to