The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

It seems my version of MySQL (4.0.22-standard) is choking on this somehow. I'm getting the following error message with both versions of the code (through PhpMyAdmin):

MySQL said:

#1064 - 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 '*) < 5 AND post.userid = user.userid AND post.dateline BETWEEN

toggg i don't understand your question, subqueries of any kind are not supported until 4.1

also, sorry, your query won't work -- the function is called current_date, not current_date(), you must convert dateline because it's an integer, you have 5 > but it should be 5 <=, and you forgot to change usertitle

Sorry for you, read the script even if you don't php.
The first query searchs all userid who posted 5 or more
The second updates all user with userid=14 not in the list from first query.
Somebody there understanding ?
Sure you use php,
say you don't script it.
à+