Lunarpages Web Hosting Forum

Author Topic: Random Item script  (Read 6573 times)

Offline MagicMike304

  • Intergalactic Superstar
  • *****
  • Posts: 142
    • Katmasters
Random Item script
« Reply #45 on: March 09, 2004, 05:43:06 AM »
Thanks StevenP, that fixed the problem.  :yey:

Thanks,
Mike
Practice C.P.R. on big catfish - Catch, Photo, Release!
http://www.katmasters.com

Offline Ripta

  • Master Jedi
  • *****
  • Posts: 1271
Random Item script
« Reply #46 on: March 09, 2004, 07:52:48 AM »
Quote from: StevenP
You can take out the multiple <p> tags and just use one at the beginning, and then use <BR> to represent a new line.

Code: [Select]
print <<EndOfHTML;
<p style="margin-top: 0; margin-bottom: 0">
     <center><a href="$Link"><img border="0" src="$Image"></a><BR>
     <center><font size="2"><a style="text-decoration: none" href="$Link">$Name</font></a><BR>
     <font size="2">$SKU - \$$Price</font><BR>
</p>
EndOfHTML


Darn it. He beat me to it :thumb:.
GetAFreelancer! (This service is not affiliated with Lunarpages)