![]() |
Which forum? whats the id??? The above code could easily be modified to only show one
|
Quote:
|
Code:
<?php |
Whenever you need me to bow down and kiss your feet in public, let me know!! :cool:
|
Quote:
Code:
<?php http://www.extremeforums.com/include....php?forumid=2 ~Chris |
What was wrong with my code? It did exactly what you needed :)
|
:)
|
I think a little feet kissing is deserved ;)
Anyway - selecting all the the forumid's and then doing a myqsl_num_rows on it is going to be more accurate then selecting the threadcoutn thing, which is the main difference between the two versions. You are only selecting numbers as well, so even if you have alot of threads it isn't going to be server intensive. I like to try to make everything accurate, so I would do it that way :) |
Quote:
Just my $0.02 ~Chris |
But threadcount is incremented everytime something is posted, but if there was an error in MySQL and some information was deleted then threadcount would be inaccurate. If you wanted to delete a post through PhpMyAdmin then threadcount would be wrong.
Using a field that is incremented to keep count isn't very accurate. |
All times are GMT. The time now is 05:44 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:
|