> I want to have a PHP website that feeds information
> off a mysql database.  But generally changes occour
> and instead of asking users to refresh the page to get
> the updates is there a way to provide the updates
> without them needing to refresh the page?
>
> E.G. For like shooping Carts, Chat rooms, etc...
>
> Is there a way in PHP or something to make updates
> show up live as they happen instead of the yucky meta
> refresh tag in HTML?
>
> Thanks for your time in advance.

I'm sorry, I always dissapoint you, but what ever you want to send to
browser must be demend by the browser. I mean you can tell browser to reload
part of the page, browser has to ask for it, you can send more information
to the browser and then use DHTML to provide the showing, or hiding...

There is only one way how to do, what you want (but it always ask the
server, only user will not see reloading). The way is to have 2 frames: 1st
for showing the content and the second to refresh every 1 min. (or as you
want), receive informations and using DHTML change the content of the first
frame, the secomd frame could be at the bootom of the browser, 1pixel
height, to be "invisible"



Brona

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to