Re: Frames & mySQL
| From: | Micah Stevens | Date: | Fri, 19 Nov 2004 02:43:45 +0000 |
| Subject: | Re: Frames & mySQL | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-37351@lists.php.net to get a copy of this message | ||
I would use Javascript to update the page content. You can use the DOM to
access the content in other frames as long as it's the same base URL I think.
So when you output the form after storing the record, output a script that
changes the bottom frame.
Look up "javascript InnerHTML" in google.. that should give you some ideas
On Thursday 18 November 2004 06:16 pm, Ron Piggott wrote:
> I have another challenge I am trying to over come. Frames.
>
> I have my screen set up in 3 frames. 2 for user input and the third is for
> data --- letting the user know what has just happened. IE "RECORD UPDATED"
> is what I want to be displayed there. The catch is this --- how do I
> display text in the data frame. Any idea? I know the <a
> href="next_screen.html" TARGET="data">SUBMIT</a> command ... But I
> am
> wanting to write to the database with a form and then have the same form
> come up again to be filled out again and the data window let the user know
> a message such as "RECORD RECEIVED". Can a PHP script do this?
>
> Ron