[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 don't know if that's his issue. He's double quoted the whole string, so php should include the single quotes in the $mysql_query string.
OP, post some more code...lines 1-46 maybe?
-- By-Tor.com It's all about the Rush http://www.by-tor.com
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php