SELECT id, userid, lasttweetid FROM twitter_users WHERE enabled = 1
SELECT id FROM twitter_users WHERE userid = '1'
UPDATE twitter_users SET lasttweetid = 1 WHERE id =

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 '' at line 3
UPDATE twitter_users SET lasttweetid = 1 WHERE id =
SELECT id FROM twitter_users WHERE userid = '1'
SELECT tweetdate as Date, tweetid as TweetId, text as Text FROM twitter_tweets WHERE userid = ORDER BY tweetid DESC

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 'ORDER BY tweetid DESC' at line 6
SELECT tweetdate as Date, tweetid as TweetId, text as Text FROM twitter_tweets WHERE userid = ORDER BY tweetid DESC

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/slapband/public_html/common/Lib/Database/MySQL.php on line 273
SELECT id FROM twitter_users WHERE userid = '2'
UPDATE twitter_users SET lasttweetid = 1 WHERE id =

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 '' at line 3
UPDATE twitter_users SET lasttweetid = 1 WHERE id =
SELECT id FROM twitter_users WHERE userid = '2'
SELECT tweetdate as Date, tweetid as TweetId, text as Text FROM twitter_tweets WHERE userid = ORDER BY tweetid DESC

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 'ORDER BY tweetid DESC' at line 6
SELECT tweetdate as Date, tweetid as TweetId, text as Text FROM twitter_tweets WHERE userid = ORDER BY tweetid DESC

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/slapband/public_html/common/Lib/Database/MySQL.php on line 273