חברה צריך עזרה..
אני מנסה למחוק את הרשומות שהזמן שלהם קטן משתי דקות מעכשיו
אני מנסה למחוק את הרשומות שהזמן שלהם קטן משתי דקות מעכשיו
mysql_query("delete * from online where last_request < Now()-0.002") or die(mysql_error());
זה נותן לי שגיאה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 '* from online where last_request < Now()-0.002' at line 1
מה עלי לעשות? איך לתקן את זה?