1
hughs
Tiny PHP Script
  • 2003/12/17 8:24

  • hughs

  • Not too shy to talk

  • Posts: 117

  • Since: 2003/10/7


Hi

I have a Script written in php which shows me the weather of my little town.
I would like to put this script in ..lets say my "right column".
Which is the best way..
Do i have to do it with <?
include("weather.php");
?> or can i put the whole script in the "right column"..
Thank you
hughs

2
Stewdio
Re: Tiny PHP Script
  • 2003/12/17 9:35

  • Stewdio

  • Community Support Member

  • Posts: 1560

  • Since: 2003/5/7 1


You could possibly copy and paste the script into a new block from the blocks admin section. Make it appear in the right column and select php as the output.

I'm not 100% sure on how effective this is. It may depend on the complexity of your php and other things, but it's worth a shot. Hope it helps.

Cheers.

3
hughs
Re: Tiny PHP Script
  • 2003/12/17 10:40

  • hughs

  • Not too shy to talk

  • Posts: 117

  • Since: 2003/10/7


I thank you for your help..
Hughs