include variable & text
Posted: Fri Jul 16, 2010 12:27 pm
Hi everyone, I'm trying to create a include line using a variable and path
- this is to display my header
something like
<?php
$site = domain.com
include $site "." "/heading.php";
?>
so it would end up being
<?php include 'http://domain.com/heading.php'; ?>
thanks for any help any1 can give
- this is to display my header
something like
<?php
$site = domain.com
include $site "." "/heading.php";
?>
so it would end up being
<?php include 'http://domain.com/heading.php'; ?>
thanks for any help any1 can give