Jump to content

Archived

This topic is now archived and is closed to further replies.

daver

"If" statement

Recommended Posts

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

Share this post


Link to post
Share on other sites
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?

Share this post


Link to post
Share on other sites
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)

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.