Request Help With Output From PHPWEATHER
Brought to you by:
iridium
From: Philip I. <pi...@be...> - 2004-04-16 06:45:20
|
I do not know PHP and my knowledge of HTML is limited. I used to = program in Fortran and some Assembly Language, but PHP and HTML are not much like those. The PHP WEATHER test page worked fine when I installed the PHP WEATHER package on the server in http://www.communitybaptistharvestal.com/phpweather. Thanks to you and others for creating this complex software package! I would like to start PHPWEATHER inside the code for my home page so = that I can insert only the current temperature on my home page. I need help = doing this. From file phpweather.txt, temp_f is the current temperature. I added: echo temp_f; before the ending ?> in phpweather.php as below: . . . function tms_unix2date($tmp_tms) { return gmdate("YmdHis",$tmp_tms); } echo temp_f; ?> When I entered http://www.communitybaptistharvestal.com/phpweather/index.php?icao=3DKHSV= &lang uage=3Den in the browser, I got:=20 Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /home/pirvine/communitybaptistharvestal-www/phpweather/phpweather.php on line 101 Thanks, Philip Irvine |