Posted by laredotornado@zipmail.com on 10/24/07 19:20
Hi,
I'm using PHP 4.4.4 with Apache 2 on Fedora Linux. I have a page,
which contains (roughly)
$sub_cat_name_arr = split(",",
trim($_REQUEST[PROD_SUB_CATEGORIES_ID_PARAM]));
foreach ($sub_cat_name_arr as $sub_cat_name) {
/* Processing */
include("add_product_response.inc");
} // foreach
header("confirmation.html");
But what is happening is that the contents of
"add_product_response.inc" (which only contain PHP code that doesn't
generate HTML) are being printed out to the screen instead of being
executed. Any idea why this is happening and how I can change the
behavior so that the code in the include file is executed?
Thanks, - Dave
[Back to original message]
|