mysql_query("INSERT INTO usersonline (onlinetimestamp,ip,username) VALUES ('$timestamp','".$REMOTE_ADDR."','guest')");
Ok maybe im a little slow this morning but can anyone think of why this code is not working? I simply need to insert that data into a table and everything except for the ip enters correctly (IP is null according to phpmyadmin when I check) its driving me insane!