note 79167 added to function.include
| From: | ed at brookwater dot co dot uk | Date: | Wed, 14 Nov 2007 07:12:09 +0000 |
| Subject: | note 79167 added to function.include | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-132252@lists.php.net to get a copy of this message | ||
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
----
Server IP: 209.41.74.194
Probable Submitter: 82.152.216.204
----
Manual Page -- http://www.php.net/manual/en/function.include.php
Edit -- https://master.php.net/note/edit/79167
Del: integrated -- https://master.php.net/note/delete/79167/integrated
Del: useless -- https://master.php.net/note/delete/79167/useless
Del: bad code -- https://master.php.net/note/delete/79167/bad+code
Del: spam -- https://master.php.net/note/delete/79167/spam
Del: non-english -- https://master.php.net/note/delete/79167/non-english
Del: in docs -- https://master.php.net/note/delete/79167/in+docs
Del: other reasons-- https://master.php.net/note/delete/79167
Reject -- https://master.php.net/note/reject/79167
Search -- https://master.php.net/manage/user-notes.php