Sure - firstly, make a copy of merchants.php and save it as
merchants_frontpage.php
Edit the new file, and DELETE every line that begins with "require" _except_ for:
require("html/atoz.php");
Finally, edit your index.php and at the point at which you want to include the Merchant A-Z content, insert the code:
require("merchants_frontpage.php");
If the point you want to include the list is in an HTML region, don't forget to include PHP tags, e.g.
<?php require("merchants_frontpage.php"); ?>
If you're not sure at all, feel free to email me your index.php, indicate where you would like the merchants list to be displayed, and I'll modify the code for you, and reply with the merchants_frontpage.php also...
Hello wesse,
Sure - firstly, make a copy of merchants.php and save it as
merchants_frontpage.php
Edit the new file, and DELETE every line that begins with "require" _except_ for:
require("html/atoz.php");
Finally, edit your index.php and at the point at which you want to include the Merchant A-Z content, insert the code:
require("merchants_frontpage.php");
If the point you want to include the list is in an HTML region, don't forget to include PHP tags, e.g.
<?php
require("merchants_frontpage.php");
?>
If you're not sure at all, feel free to email me your index.php, indicate where you would like the merchants list to be displayed, and I'll modify the code for you, and reply with the merchants_frontpage.php also...
Cheers,
David.
--
PriceTapestry.com