systom: IFRAME im PHP

Beitrag lesen

Also hier ein link zum veranschaulichen...

http://www.thomas-sowinski.de/test-li.php

und hier der Quelltext..

<html>
<head>
<title>Unbenanntes Dokument</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="1">
  <tr>
    <td width="100">
 <p><a href="test-li.php?li=erster.php" target="_self">erster</a></p>
 <p><a href="test-li.php?li=zweiter.php" target="_self">zweiter</a></p>

</td>
<td>

<?php

if ($li == "")//wenn li leer dann lade run.php
{$li = "run.php";}

@include("$li");//ansonsten lade $li

?>

</td>
    <td width="100">&nbsp;</td>
  </tr>
</table>

</body>
</html>

Gruß Tom