mysql_query problem...
| From: | Prince | Date: | Mon, 28 Apr 2003 19:32:19 +0000 |
| Subject: | mysql_query problem... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-145559@lists.php.net to get a copy of this message | ||
hi
have a script that deletes some records based on the fact that the current date and goes 14 days
back and deletes anything 14 days or older than todays date...
mysql_queryJ("delete from prayer where Posted <curdate()-interval 15 day");
problem i have is it works on windows mysql server but for some reason it wont work on any other
one.. any idea how come?
all i get for the query is -1