note 79167 rejected from function.include by betz
| From: | betz@php.net | Date: | Wed, 14 Nov 2007 10:30:25 +0000 |
| Subject: | note 79167 rejected from function.include by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-132263@lists.php.net to get a copy of this message | ||
Note Submitter: ed at brookwater dot co dot uk
----
Hi,
I'm trying (and at the moment failing!) to get a php include working on OS Commerce,
I have tried it every which way...
like this:
<?php include("glazing.channel.details.php"); ?>
or like this:
<!--#include file="glazing.channel.details.php" -->
and even this:
<!--#include virtual="/glazing.channel.details.php" -->
What I need to do is as follows:
I have alot of the same product but in different configurations, the description is all the same,
so, I want to use php include to simply insert one line of code on each page. then if I need to edit
the product details, all I need to do is edit the one page not 48 (like I have to do now)
any help please, ...
many thanks in advance...
Ed Brookwater