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" <brucel@ispye.com> wrote in message FE6D82BC94316E418A3F97EF3E66AD4D20445C@ispyesrv1.ispye.com">news:FE6D82BC94316E418A3F97EF3E66AD4D20445C@ispyesrv1.ispye.com... 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