Invalid query SELECT whoiswhoabo.*, DATE_FORMAT(whoiswhoabo.date + INTERVAL 3 HOUR, '%w') as wdate, DATE_FORMAT(whoiswhoabo.date + INTERVAL 3 HOUR, '%d.%m.%Y') as fdate, DATE_FORMAT(whoiswhoabo.update + INTERVAL 3 HOUR, '%d.%m.%Y %H:%i') as updated, DATE_FORMAT(whoiswhoabo.date + INTERVAL 3 HOUR, '/%Y/%m/%d/') as linkdate, authors.signature, authors.url FROM whoiswhoabo LEFT JOIN authors ON whoiswhoabo.corr = authors.id WHERE whoiswhoabo.id = 71”