<?php $mfgetweather->get_weather('nlxx0015', 'Rotterdam', 'icon,temp,high,low,dayforecast'); ?>
Wordpress version 2.6.2
Plugin MFGetweather 1.6.0 (is activated)
Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!
<?php $mfgetweather->get_weather('nlxx0015', 'Rotterdam', 'icon,temp,high,low,dayforecast'); ?>
if($page_ID==33) { echo 'Or you can come and visit me.'; $mfgetweather->get_weather('nlxx0015', 'Rotterdam', 'icon,temp,high,low,dayforecast'); }
Edited by Michael, 16 September 2008 - 06:42 PM.
How does the code in post #8 not work? Does it show any error or just do nothing?
<?php $mfgetweather = new get_weather('nlxx0015', 'Rotterdam', 'icon,temp,high,low,dayforecast'); $mfgetweather->get_weather('nlxx0015', 'Rotterdam', 'icon,temp,high,low,dayforecast'); ?>
<?php $mfgetweather = new MFGetweather(); $mfgetweather->get_weather('nlxx0015', 'Rotterdam', 'icon,temp,high,low,dayforecast'); ?>If not try something like this.
<?php include('where_ever_you_put_it/mfgetweather.php'); $mfgetweather = new MFGetweather(); $mfgetweather->get_weather('nlxx0015', 'Rotterdam', 'icon,temp,high,low,dayforecast'); ?>
if($_GET['page_id']=='33') { echo 'Or you can come and visit me.'; $mfgetweather->get_weather('nlxx0015', 'Rotterdam', 'icon,temp,high,low,dayforecast'); }
Edited by Michael, 16 September 2008 - 11:01 PM.
0 members, 0 guests, 0 anonymous users
Community Forum Software by IP.Board
Licensed to: Geeks to Go, Inc.