| |
Top News submitters | |
|---|---|---|
| wicked | Posted: 24.05.2005, 02:55 | |
Noob
registered: Oct 27, 2004
Posts: 11
Status: offline last visit: 27.07.05 |
I try to create a block that shows the top news submitters on the last [period time] and it doesn't show anything :S This is the sql that i execute... Where 7 is the number of days. Thanks for your support :) |
|
|
|
|
|
| Chestnut | Posted: 24.05.2005, 08:03 | |
|
Site Admin
registered: Jun 02, 2002
Posts: 1320
Status: offline last visit: 07.02.08 |
I'm not expert of this sort of things but from what I see... you are asking in your sql what news is LIKE 7days before and ... think I see another error. You are missing a where... Think something like this would be more appropriate : This is to tell the sql that you want the news where the username is like the news informant And this is to get all what happened since 7 days ago The number of news for each user will be given in the "ncount" later in your code. Try this and see if it works... Chestnut ! ![]() Site Admin |
|
|
|
|
|
Powered by pnForum Version 2.0.1



