Please bear with we I,m new to using mysql. I created a table called stats in a database called mylandy, which already existed. However using the following php script nothing is written to the table. What am I doing wrong.
mysql version 3.23.49a, table created using mysqltool v.095
Thanks
Ian It's not a lie if you believe it!
mysql version 3.23.49a, table created using mysqltool v.095
Code:
$db = mysql_connect("cdb-1.prv.ampira.com:3307" , "imcco" , "r990jcu");
mysql_select_db("mylandy", $db);
$sql = "INSERT INTO stats(ip,date,browser,referrer,request,cpu,screen,colour,javascript,cookies) VALUES ('$ip','$dtime','$agent','$ref','$svreq','$uspc','$ussd','$ussc','$usjs','$uscs')";
$results = mysql_query ($sql);
Thanks
Ian It's not a lie if you believe it!