Lee Posted October 15, 2006 Share Posted October 15, 2006 Hi, I just want to make a simple constant for a copyright that I put at the bottom of each page.I made a page called cosnstants.php & put the following code..[code]<?phpdefine (COPYRIGHT,'<span class="maintext">© Stone Island Records 2006</span>');?>[/code]then in the index page at the top I put [code]<?phprequire_once("constants.php");?>[/code]and then at the bottom of the page[code]<?php echo COPYRIGHT ?>[/code]how have I ballsed this up? :-[Thanks. Quote Link to comment Share on other sites More sharing options...
Orio Posted October 15, 2006 Share Posted October 15, 2006 This seems ok to me... Are you sure your code looks exactly the same?Orio. Quote Link to comment Share on other sites More sharing options...
Lee Posted October 15, 2006 Author Share Posted October 15, 2006 Yeh, I copied & pasted it.I put the require command right after[code]<html xmlns="http://www.w3.org/1999/xhtml">[/code]maybe thats in the wrong place? Quote Link to comment Share on other sites More sharing options...
Lee Posted October 15, 2006 Author Share Posted October 15, 2006 ..er ok now its working..I must have gremlins somewhere.Thanks for the help anyway :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.