INSERT IGNORE INTO dklog_urls (url) VALUES ('hqmeded-ecg.blogspot.com');

SELECT id FROM dklog_urls WHERE url='hqmeded-ecg.blogspot.com';

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