Проблем с mysql заявка

cmsfan

Registered
Код:
DELETE FROM downloadurls WHERE id='$expiredid' folder='$expiredf' data='$expiredda'

Грешката:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'folder='' data=''' at line 1
 
PHP:
mysql_query("DELETE FROM `downloadurls` WHERE `id`='{$expiredid}' AND `folder`='{$expiredf}' AND `data`='{$expiredda}';") or die(mysql_error());
 

Горе