RE: [PHP-DB] Dynamic Website Question!

From: Jerry (jusa_98_at_yahoo.com)
Date: 11/30/03


Date: Sun, 30 Nov 2003 19:54:13 +1100 (EST)
To: Bronislav Klucka <Bronislav.Klucka@pro2-soft.com>, PHP Konference <php-general@lists.php.net>

Hi,

I am not familiar with DHTML and how it can be used to
talk to PHP to update a certain part of a page. That
is all I need, is one section of the page, not the
entire page, to be refreshed. The part is just text
from a database. However on the page I want
backgrounds, images etc but I don't want these to
refresh, just the text from the database.

What you have said below seems exactly what I want.
But I have never used DHTML. Could you show me a
example of both frames (just the source) of how one
talks to another please?

Jerry

 --- Bronislav Klucka <Bronislav.Klucka@pro2-soft.com>
wrote: > > 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
>

http://personals.yahoo.com.au - Yahoo! Personals
New people, new possibilities. FREE for a limited time.



Relevant Pages

  • Re: Gone in 2 minutes: Mac gets hacked first in contest
    ... As for how to protect yourself, ... You should check frequently for updates to the browser you're using, ... shown at the bottom of your web browser window. ...
    (comp.sys.mac.system)
  • Re: is it a newsgroup or marketplace? (was: What DNS to go for?)
    ... model for all of those free DNSes), I just need reliable DNS. ... What would happen when refresh period expires? ... business domain) if you just want to serve your local lan. ... updates or guarantees of consistency. ...
    (comp.os.linux.networking)
  • Re: Microsoft update disables Netscape
    ... >>I have never seen the updates break Netscape either but I don't have ... It is a fact that IE 6sp1 installs and updates set the IE ... >>default browser. ... recall sometimes the value would be changed at that point to the MSN ...
    (microsoft.public.windowsxp.general)
  • Re: Start Page Attack?
    ... > latest updates. ... > Strangely the browser seems to get hijacked either the second time it ... > Comment:Possible browser hijack attempt ... Empty your Temporary Internet Files and shrink the size it stores to about ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • RE: Need to requery a main form with a pop up form
    ... When you requery a form, a result of that action is the form will move to the ... Open you're popup form where you enter your payments in dialog mode. ... repaint updates the value of unbound calculated controls on your form. ... Depending on your needs, you may not need both refresh and repaint, so try ...
    (microsoft.public.access.gettingstarted)