Welcome to WebmasterWorld Guest from

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

PHP and Frames?...

Can it be done?



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

10+ Year Member

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)

10+ Year Member

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)

WebmasterWorld Administrator jatar_k is a WebmasterWorld Top Contributor of All Time 10+ Year Member

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)

WebmasterWorld Senior Member 10+ Year Member

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)

10+ Year Member

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"


Featured Threads

Hot Threads This Week

Hot Threads This Month