INSERT IGNORE INTO dklog_urls (url) VALUES ('www.resus.me');

SELECT id FROM dklog_urls WHERE url='www.resus.me';

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