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 "".date('D M d Y').":";
echo "
sunrise time : " .date_sunrise(time(), SUNFUNCS_RET_STRING, -26.54, 148.77, 90, +10) ."";
echo "
sunset time : " .date_sunset(time(), SUNFUNCS_RET_STRING, -26.54, 148.77, 90, +10) ."";
Still the result is just the echo of the date, and everything else (from the original page) stripped.