Hi All,
Thanks for all the help.
I did find a solution to the problem by simply adding the City parameter to
the frameset like this:
<frame src="topframe.php?City=<?php echo $_GET['City']; ?>" name="topFrame"
scrolling="NO" noresize >
<frameset rows="*" cols="239,*" framespacing="0" frameborder="NO"
border="0">
<frame src="list.php?City=<?php echo $_GET['City']; ?>" name="leftFrame"
scrolling="yes" noresize>
<frame src="main_frame.php?City=<?php echo $_GET['City']; ?>"
name="mainFrame">
Thanks again
Hans
"Geoff Berrow" <blthecat@ckdog.co.uk> wrote in message
news:fvt330p9ra0sqmgif69p4haugln2e97m8o@4ax.com...[color=blue]
> I noticed that Message-ID: <c0s11n$v0$1@ctb-nnrp2.saix.net> from Hans
> contained the following:
>[color=green]
> >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[/color][/color]
within[color=blue][color=green]
> >the frameset.
> >
> >What is the best way of getting this done.[/color]
>
> Try this (I've only used underscores to stop the line breaking)
>[/color]
http://www.ckdog.co.uk/php/temp/fram..._telling&locat
ion=South_Africa[color=blue]
>
> 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/[/color]