Jump to content


Photo

"If" statement


  • Please log in to reply
2 replies to this topic

#1 daver

daver
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 04 April 2006 - 01:27 PM

I'm relatively new to php and I'm wondering what kind of a code I would use to show a weather module on my homepage only.

Greatly appreciate any help.
Thanks!
Daver

#2 trq

trq
  • Staff Alumni
  • Advanced Member
  • 31,041 posts

Posted 04 April 2006 - 02:42 PM

There are no such things as modules in php. You'll need to explain exactly what it is your trying to do. Maybe post an example?

#3 daver

daver
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 04 April 2006 - 04:48 PM

Sorry 'bout that!

It's a string of html code, <iframe> to be exact that is displaying weather. I have put the code in my index.php, but it is showing up on all my pages (I'm using mambo, but this code is hard coded into the index.php file)




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users