Re: problem retrieving variables.
| From: | Jim Lucas | Date: | Thu, 02 Sep 2010 20:43:54 +0000 |
| Subject: | Re: problem retrieving variables. | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307836@lists.php.net to get a copy of this message | ||
Paul Halliday wrote:
> I think I just might be missing the logic here.
>
> I have a page that is created and within this page, I include an
> iframe like this:
>
> $qp = urlencode("$when $wFilter $aFilter");
> echo "\r<tr><td id=links colspan=2 style=\"display:none; padding-left:
> 12px;\">
> \r<IFRAME id=\"links-frame\" name=\"links-frame\"
> src=\"edv.php?qp=$qp\" width=100% height=1000 frameborder=0
> scrolling=no></IFRAME>
> \r</td>
> \r</tr>";
>
> When I call edv.php though, I can't $qp = $_REQUEST['qp'];
>
> What am I missing?
>
> Thanks.
>
Just below your urlencode() call in the parent script place echo $qp; to see if
the value is what you expect?
Then within edv.php add this
var_dump($_REQUEST);
and see if $_REQUEST['qp'] is there, and what it is.
Jim