Forcing a page update with frameset like phpAdmin

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
cigy23
Forum Newbie
Posts: 3
Joined: Fri Aug 09, 2002 6:08 pm

Forcing a page update with frameset like phpAdmin

Post by cigy23 »

Hello all,

The only way that I think I can explain this is, I need to find out how to get a page to update or refresh in a frame set.

As phpAdmin does, once you create a new table and add the colums..after the submit, it auto updates the left frame.
I am working on something that just has two frames, left and right, but once they submit a form on the right side, I need to be able to update the left frame after the data has been recorded into the DB.

How is this done and or where can I go to read up on this.

Thanks for any help on this.
learning_php_mysql
Forum Commoner
Posts: 27
Joined: Sun Aug 04, 2002 12:58 pm
Location: WA

Post by learning_php_mysql »

mine doesnt update the left frame and i have the newest version =/
cigy23
Forum Newbie
Posts: 3
Joined: Fri Aug 09, 2002 6:08 pm

Post by cigy23 »

Yes, I have 2.3.0 rc4
and when you go to a database and create a new table...once you have filled in all the colums and clicked the submit buttom, it adds the table and colums and then refreshes the left frame to show the new table..

If this is only a feature that works for me...wow, it is a cool feature.
learning_php_mysql
Forum Commoner
Posts: 27
Joined: Sun Aug 04, 2002 12:58 pm
Location: WA

Post by learning_php_mysql »

my bad you were right... well the source is at your finger tips why dont you sift through the code and find it... or heres a better solution... dont use frames.
User avatar
hob_goblin
Forum Regular
Posts: 978
Joined: Sun Apr 28, 2002 9:53 pm
Contact:

Post by hob_goblin »

i can guarantee they are using javascript to refresh the left side... or meta tags or something
lc
Forum Contributor
Posts: 188
Joined: Tue Apr 23, 2002 6:45 pm
Location: Netherlands

Post by lc »

how about including the framesets in php

Meaning.. post your form data to the whole page (prolly index.php) that houses the framesets... then have php load the correct pages in the framesets, meaning the ones you want displayed after the form data has been entered.

so just set target="_top" and do an if statement for the frameset's content.
Post Reply