Below is my PHP script that generates the daily PV from our AS400 but it wont work when I use the echo "&value=".$PV; line. Howerver if I comment it out and use the echo "&value=".$num; (which is just a random number) it works just fine. I looked at the page source for both its only 1 line long and everything looks fine. Any ideas?