|
i have to apologize for not being proficient at this. i've never looked at php until yesterday. i am forced to try and debug b/c my webdesigner has disappeared on me! anyways, imagine this being in a page (changing $number and $category to int from string makes no dif):
<! MODULE 1: in file music.php>
<?php $template="SOTM";
$number=1;
$category=17; include "fork/show_news.php"; ?>
<! MODULE 2: in file music.php>
<?php $template="Tues_Release";
$number=4;
$category=18;
include "fork/show_news.php"; ?>
<! MODULE 3: in footer.php, which is included in music.php>
<?php $template="Updates";
$number=10;
$category=13; include "fork/show_news.php"; ?>
that is the jist of the code. as above, module 1 & 2 both work while module 3 doesn't. if i comment out the $number line in module 2, then module 3 works, but the resulting text on the actual web browser looks fuzzy. if i comment out the $number line in modules 1 and 2, then module 3 works and looks correct in the browser. as soon as i uncomment the $number line in modules 1 and 2, module 3 stops working. i have also tried putting module 3 directly into music.php instead of including it as a footer but this does not change anything.
|