You are here: Re: Scope of php variables outside <?php ?> blocks « PHP Programming Language « IT news, forums, messages
Re: Scope of php variables outside <?php ?> blocks

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация