homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

PHP and Frames?...
Can it be done?

 2:43 pm on Nov 5, 2002 (gmt 0)

Hi, I wanted to know how to parse variables from a frame to another without using javascript(is it possible?)
Thanks in advance!



 2:53 pm on Nov 5, 2002 (gmt 0)

You mean like by using query strings?

a target=otherframe href=page.php?variable=info

And on the page.php you just read/print/manage $variable



 4:12 pm on Nov 5, 2002 (gmt 0)

Can't say I've ever done it, as I try not to use frames, but I don't see any reason why it wouldn't work.


 4:21 pm on Nov 5, 2002 (gmt 0)

I did it once with an in-house interface to a MySQL DB. (Marketing director needed something more user-friendly than a command line for updating the database our website was generated from.) It worked suprisingly well for something with frames in it. And the method celerityfm suggested "Worked For Me".


 9:14 pm on Nov 6, 2002 (gmt 0)

As long as you are sending query strings to the frames it will work just fine!

e.g. href="page1.php?var=whatever" target="frame name"

Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved