I'm new at php, and trying to pass a url string, as well as a couple other things onto my page.
Here is the code I'm using:
<?php
define("LINK1", "Tuna Tacos!");
define("LINK_URL1", "http://www.tunataco.org?ref=1234");
define("LINK2", "Check This Out!");
define("LINK_URL2", "http://www.superaffiliatesite.net?id=me");
define("BANNER1", "images/hostingbanner.gif");
define("BANNER_URL1", "http://www.hostingaffiliate.com?ref=666");
define("BANNER2", "images/webdesignbanner.jpg");
define("BANNER_URL2", "http://www.webdesignsuperstar.com?ref=steve");
?>
I have this code in an external php file located here:
http://www.locate-contractor.com/mas...obal-links.php
Here is the page I want to insert the above links:
http://www.locate-contractor.com/index.php
At the top of the page I include the global-links.php file. Then towards the bottom, you can see a LINK1 which should be pulling "Tuna Tacos" and the Url, although it doesnt seem to do that. What am I doing wrong?