![]() |
top posters over a 7 day period
how would i edit this query to show the top posters over a 7 day period?
[sql]$posts10 = $DB_site->query('SELECT userid,username,posts FROM user ORDER BY posts DESC LIMIT 5');[/sql] |
*bump*
|
Code:
SELECT |
altho i appreciate your help, the query is apart of something
PHP Code:
and [sql] $DB_site->query('SELECT userid,username,posts FROM user ORDER BY posts DESC LIMIT 5'); [/sql] being the string that query's the database, as you can see in the php box in the first post i don't apprear to make use of the function anywhere, which would mean that i got the rest of the hack somewhere else (of which i require no help with), being that this is the last obstacle before finish, i would say it's a matter of HELP ME FINISH btw your query didn't work :) |
Execute the query in phpmyadmin, it does work ;)
|
sorry should've been clearer, the query works fine in php my admin just not on the page :(
|
Post the php code with query so we can help you.
|
PHP Code:
Code:
<b>$topposters[username]</b> -$topposters[posts] |
when i get access to my pc i'll post it up, thank you very much for all of your help thus far tho :)
|
All times are GMT. The time now is 07:55 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|