Guest Posted June 6, 2003 Posted June 6, 2003 Is it possible to store tep_href_links in a flatfile and read them with a random function? Example: " <a href="<?php echo tep_href_link(FILENAME_DEFAULT, 'cPath/x_y', 'NONSSL'); ?>"><IMG SRC="images/infobox/relax.jpg" WIDTH="150" HEIGHT="300" BORDER="0" ALT=" "></a> " This is the random funktion: $quotes = file("$textfile"); $quote = rand(0, sizeof($quotes)-1); echo $quotes[$quote]; Please help... Best wishes Torsten
Recommended Posts
Archived
This topic is now archived and is closed to further replies.