RE: [PHP] updating a frame from within php...
| From: | Ed Lazor | Date: | Wed, 11 Aug 2004 18:22:40 +0000 |
| Subject: | RE: [PHP] updating a frame from within php... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-193491@lists.php.net to get a copy of this message | ||
> Have been trying to find a way to do this myself. One idea I had to do
> this from within PHP was to define the nav frame as a function which
> would be called based on the actions in the main window. The nav frame
> function would use the target elements to send their output to the
> correct frame.
>
> Have not tried this yet so I am not sure that would work. Have not been
> able to think of any other way to do it from PHP.
In case it helps, think of PHP as server-side only. PHP processes scripts
and outputs a web page that gets sent to the client / browser. Any activity
occuring on the client/browser side needs to be handled by something like
Javascript.
Do a google on "javascript frame reload" and you'll see several examples of
how to do this.
-Ed