3
I'm sorry - I don't follow.
Doesn't the echo finish at the ;
I tried using <? ?>, but that didn't work. I found out yesterday you can't use the PHP tags with Content Type PHP Script
This script runs when uploaded to a server as time.php.
I change the code to this:
echo "<font size='-4'>".date('D M d Y').":</font>";
echo "<br /><font size='-4'> sunrise time : " .date_sunrise(time(), SUNFUNCS_RET_STRING, -26.54, 148.77, 90, +10) ."</font>";
echo "<br /><font size='-4'> sunset time : " .date_sunset(time(), SUNFUNCS_RET_STRING, -26.54, 148.77, 90, +10) ."</font>";
Still the result is just the echo of the date, and everything else (from the original page) stripped.