We need someone who has php/mysql and knowledge of posting to twitter. We have a site that allows users to signup/create an account. After they signup they have to log into twitter to allow the site to post tweets in the future. It all was all working, but now we are get an error when the cron job runs to post the tweets. The cron job is setup to run every 5 minutes. the script that runs was working fine. I believe it is something relatively easy to diagnose and fix.
when the cron job runs this is the error message
SELECT m.*,u.`twitter_consumer_key`,u.`twitter_consumer_secret`,u.`token`,u.`secret`, u.`twitter_username`, u.`twitter_password` FROM tbl0 AS m, tbl1 AS u WHERE (`datetime` < NOW()) AND (m.`uid`=u.`uid`) AND (m.`type`='N') AND (m.`status`='Q') ORDER BY `datetime`Array (
)
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 '`count`=`count`+1, `datetime`=DATE_ADD(datetime,INTERVAL 1 DAY), `posttime`=NOW(' at line 1"