i got an iframe in an echo:
<iframe width='100%' heig开发者_开发百科ht='100'>$content</iframe>
$content = eval ( "\$bugs = \"" . gettemplate ('bugs') . "\";" );
but it doesnt work.
how can i use the eval function from php to show the page in an iframe?
thnx!
Refer the following code
<?php
$string = 'cup';
$name = 'coffee';
$str = 'This is a $string with my $name in it.';
echo $str. "\n";
eval("\$str = \"$str\";");
echo $str. "\n";
?>
精彩评论