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)

Junior Member

10+ Year Member

joined:Sept 17, 2001
votes: 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)

Junior Member

10+ Year Member

joined:Oct 26, 2001
votes: 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)


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

joined:July 24, 2001
votes: 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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Sept 12, 2002
votes: 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)

Full Member

10+ Year Member

joined:Apr 4, 2002
votes: 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"