how to refresh 2 pages when submitting the form

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
akkad
Forum Newbie
Posts: 14
Joined: Tue Jul 31, 2007 4:09 am

how to refresh 2 pages when submitting the form

Post by akkad »

let me explain the problem :

i have a page of three frames :
first frame : contains form
second frame: recieve and manipulate a form contents
third frame: contains links in the second page labels

so when i will submit the form in the first frame i want that the remaining pages to be refreshed , how i can do that?
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Post by califdon »

The ideal way would be to use Ajax and refresh the data, but not the entire pages. See http://www.webreference.com/programming/javascript/kh/ and many other sources. Ajax is so easy to implement, since you don't have to learn a new language, if you already know Javascript and PHP.
Post Reply