| I think you still have the quoting problem. Here's how I would do it (again, I'm not familiar with PHP).
$query = "INSERT INTO userlog (browser, long_name, version, javascript, platform, os, ip, language) VALUES ('" + $browser + "','" + $longname + "','" + $version + "','" + $javascript + "','" + $platform + "','" + $os + "','" + $ip + "','" + $language + "')";
You need to escape out of the quote for each variable. |