It looks like you're trying to read Javascript values from the PHP script - this wont work, as PHP is purely server side, and doesn't iteract with ECMAscript at all on the client.
What you need to do is have a script that will refresh just the one portion of your page and update it using...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.