at the top of the page...... i assume MYSQL DB. you must establish $link_id first connect to your DB then run..... remember if u use this code a function, remember $HTTP.... is not global by default.
$browser = $HTTP_SERVER_VARS["HTTP_USER_AGENT"]; $sql = "INSERT INTO table (useragent_name) VALUES (\"$browser\")"; mysql_query($sql, $link_id); Simple as that.... Joel Colombo "Bruce Levick" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Is there a method for storing each users browser stats within a database table. So everytime someone visits the browser info is gathered and stored as a unique row in the 'browser' table in the database. Any advice?? Cheers -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php