![]() |
Try changing to:
PHP Code:
|
Still the same result using this code:
PHP Code:
Thanks Quote:
|
replace:
PHP Code:
PHP Code:
|
Now I get an SQL error:
Invalid SQL: SELECT COUNT(*) AS users FROM " . TABLE_PREFIX . "user; |
Please post your current script and the full error message.
|
Ok, the script:
PHP Code:
PHP Code:
|
PHP Code:
PHP Code:
|
Ok, I got the include to work on the page, but which include is best to use for this?
include() require() include_once() require_once() I?m using require currently. But the post count is between 10-13 more than on the forum (seems to change once in a while), anyway to fix this? Is it possible to modify the script, so it uses the same as index.php to count the posts? PHP Code:
|
require_once is mostly the correct way.
|
Thanks
|
All times are GMT. The time now is 05:57 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:
|