phpinclude tip (for running queries)
the main problem with phpinclude is running queries, it runs them on every page, even if they're not needed...
using the following you can make it so tey're only ran on certain files: PHP Code:
hope it helps some of you ;):D |
You need to use == or that will return true every time. Also $PHP_SELF is depreicated. Finally this is easier:
PHP Code:
|
Quote:
Quote:
Quote:
|
All times are GMT. The time now is 02:01 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|