INSERT IGNORE INTO dklog_urls (url) VALUES ('casesblog.blogspot.com');

SELECT id FROM dklog_urls WHERE url='casesblog.blogspot.com';

INSERT INTO dklog_offsiteclicks (url_id, user_id, click_when) VALUES (38, 0, NOW());