1
Hi Guys,
i´ve readed that if i want to display only an fragment (anchor) from another page i can use it like this:
<?php
$desc = file_get_contents("http://www.mydomain.com/folder/file.html?#fragment2");
echo $desc;
?>
The code from the file.html looks like this:
<table id="fragmented">
<tr>
<td id="fragment1">The page title</td>
</tr>
<tr>
<td id="fragment2">The code to display in another page</td>
</tr>
<tr>
<td id="fragment3">The page footer</td>
</tr>
</table>
But thats not work correctly, the complete file is displayed and not only the anchor. What i do wrong?
I can not use some XOOPS Vars because that all is not in a module. I think, i do wrong anything with the php-code.
Greetings from Germany
Thom