Suspended
this is the line of code i have in my footer. at the beginning of each page $p is set which tells my what category of page we're on.
on every single page this is fine. the same footer file is included by each page and the below works perfectly. i'm installing wordpress and have wordpress now also include my footer page. it shows fine, but this is coming up with an error. $p is some reason being set to 0, and even at 0, it still tries to include the file which isn't there. Any clues why this is happening?
on every single page this is fine. the same footer file is included by each page and the below works perfectly. i'm installing wordpress and have wordpress now also include my footer page. it shows fine, but this is coming up with an error. $p is some reason being set to 0, and even at 0, it still tries to include the file which isn't there. Any clues why this is happening?
PHP:
<?php
if ($p == "quote") {
echo "p=".$p;
include '/admin/db/db_close.php';
} ?>