Includes, links
Posted: Mon Feb 10, 2003 6:05 pm
Hello.
I have a file called include.php. Say, this is it's contents:
and on some other page on my website I put:
This doesn't work. Can someone please tell me why? Is it because something is wrong with the quotes? I think I tried all variations. In any event, thanks.
Cheers!
I have a file called include.php. Say, this is it's contents:
Code: Select all
$index='http://www.mysite.com/index.php';Code: Select all
include ("include.php");
<a href=" <?php $index ?> ">homepage</a>Cheers!