hi guys, just wanna ask how could i pass the value of a certain variable coming from one frame into another frame having that the frames are both present in one webpage only??
when you say frame im assuming you mean between pages?
If so you can look into $_POST and $_GET
GET sends them via the url where POST it sends them to the specific page.
If you want it all to be processed on the same page, you will need to look into ISSET and PHP_SELF
You use the document object model -
Assume in our frame set we have: Left, Center, Right frames.
Then in Center or Right we use: parent.Left.Var01 = 12; to change the value of Var01 in the Left frame.
- Hank Castello, Web-Professor.com
<script> top.frames['frameName'].document.getElementById('myvar').value = <? echo $vartopass; ?>; </script>
Just a nudge. My 2¢. Hope this helps. :)