I noticed that Message-ID: <c0*********@ctb-nnrp2.saix.net> from Hans
contained the following:
Hi There,
I have a page that has links with some variables and I need to open the
results set in a frameset. I have tried doing this in various different
ways, but still cannot get the variable passed to the relevant frames within
the frameset.
What is the best way of getting this done.
Try this (I've only used underscores to stop the line breaking)
http://www.ckdog.co.uk/php/temp/fram...n=South_Africa
The frameset looks like this:
<frameset rows="205,*" frameborder="NO" border="0" framespacing="0"
cols="*">
<frame name="topFrame" scrolling="AUTO" src="top.php<?php print
"?name=".$_GET['name']; ?>" frameborder="YES" >
<frameset cols="388,*" frameborder="NO" border="0" framespacing="0"
rows="*">
<frame name="leftFrame" scrolling="AUTO" src="left.php<?php print
"?age=".$_GET['age']; ?>" frameborder="YES">
<frame name="mainFrame" src="right.php<?php print
"?location=".$_GET['location']; ?>" frameborder="YES" scrolling="AUTO">
</frameset>
</frameset>
and the individual frames simply contain
Top frame
Your name is <?php print $_GET['name']; ?>
Left frame
Your age is <?php print $_GET['age']; ?>
Right frame
Your location is <?php print $_GET['name']; ?>
If this doesn't work, check the version of your PHP is greater than
4.1.0
--
Geoff Berrow (put thecat out to email)
It's only Usenet, no one dies.
My opinions, not the committee's, mine.
Simple RFDs
http://www.ckdog.co.uk/rfdmaker/