phpinclude tip (for running queries)
by
03 May 2003
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:
if ($PHP_SELF == "/full/files/path/and/file/name/and.extension") {
hope it helps some of you |