![]() |
What is missing here?
I made the query, template and page code using existing, working elements in use elsewhere. My questions are these:
1. Why does this return only one result, when it should obviously return 10? 2. Why does it not return the correct results...the top article has over 6000 views. The page in question (and there are two sets of this problem on it) is: http://www.mcseworld.com/forums/library.php The query, template and page code were revised from that which drives this page: http://www.mcseworld.com/forums/lastthreads.php where they work quite nicely. The SQL query: Code:
// Get Popular Articles The template: PHP Code:
PHP Code:
|
Try:
PHP Code:
|
Great, that was it...I guess it was just too sloppy for its own good. :)
Now, I have another question...I cannot seem to extract the date/time properly. Here is my query: Code:
// Get Recent Articles PHP Code:
Thanks again for your help! |
dontpanic,
Instead of: PHP Code:
PHP Code:
Cheers, g-force2k2 |
Oh duh, thanks! Working perfectly now. :)
|
All times are GMT. The time now is 04:14 PM. |
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:
|