|
Posted by Jerry Stuckle on 08/22/06 03:28
shawn.ready@gmail.com wrote:
> Oh, bugger
>
> I get it now...all of the php is executed on the server before the page
> is sent to client...so it is getting the same numbers back all the
> time(exactly what u said, sorry)...My intension was for the UpdateMap()
> function to query the bd every second and add a new point to the map.
> Am I better off using AJAX to achieve this?
>
> Sorry, what do u mean by "And please don't top post."
>
> Thanks
>
> Shawn
>
I wouldn't use Ajax for this. Rather, just put hidden fields in the
form and post the form back to the server. Then the server code can
pick up the posted values and compute from there.
And on Usenet (which is what this is - Google Groups is just an
interface to it) general accepted practice is to quote the message
you're replying to.
Your response then goes either before (top posting), after (bottom
posting) or intermixed within the post you're quoting.
This group uses bottom or intermixed posting as a standard.
Thanks.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|