![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
| echo "<iframe class=\"iframe\" width=\"600px\" height=\"230px\" src=\"search_table.php?description=\"" . $description . "\">"; I tried to echo out the passed variable description in search_table.php but it did not appear???? |
#3
| |||
| |||
|
|
echo "<iframe class=\"iframe\" width=\"600px\" height=\"230px\" src=\"search_table.php?description=\"" . $description . "\">"; I tried to echo out the passed variable description in search_table.php but it did not appear???? |
#4
| |||
| |||
|
|
echo "<iframe class=\"iframe\" width=\"600px\" height=\"230px\" src=\"search_table.php?description=\"" . $description . "\">"; |
#5
| |||
| |||
|
|
don wrote: echo "<iframe class=\"iframe\" width=\"600px\" height=\"230px\" src=\"search_table.php?description=\"" . $description . "\">"; Which will come out as something like: iframe class="iframe" width="600px" height="230px" src="search_table.php?description="YOURDESCRIPTION " |
|
Try: ? iframe class="iframe" width="600" height="230" src="search_table.php?description=<? php echo htmlentities(urlencode($description)); ?>" Alternative content /iframe ?php |
#6
| |||
| |||
|
|
or, purely in PHP: ?php $description = htmlentities(urlencode($_REQUEST['description']; echo '<iframe class="iframe" width="600" height="230" src="search_table.php?description="'.$description. '">'; |
#7
| |||
| |||
|
|
While the city slept, Gazza (news (AT) garyjones (DOT) co.uk.invalid) feverishly typed... or, purely in PHP: ?php $description = htmlentities(urlencode($_REQUEST['description']; echo '<iframe class="iframe" width="600" height="230" src="search_table.php?description="'.$description. '">'; or even... ?php // whatever else is in here... $description = htmlentities(urlencode($_REQUEST['description']; ? iframe class="iframe" width="600" height="230" src="search_table.php?description="<?=$description " |
![]() |
| Thread Tools | |
| Display Modes | |
| |