X
x12x13
... ich weis ich bin dämlich
PHP:
<?php
// Die Zeile hier unter soll immer dann
// eingefügt werden, wenn ich <?php echo $bg_color ? >
// in den Code einfüge
if ($link == contact){ echo "#000000"; }else{echo "#FFFFFF";}
?>
<table border="1">
<tr>
<td>
<table border="1">
<tr><td bgcolor="<?php echo $bg_color ?>"><a href="test.php?link=contact">Dies ist Zelle Nummer Eins !</a></td></tr>
<tr><td><a href="test.php?link=zwei">Zelle Zwei, HAHAHAHAHAHA !!! :-)</a></td></tr>
</table>
</td>
<td>
<!-- Inhalt der reingeladen wird -->
<?php
if ($link == contact){
include "test2.php";
}
if ($link == zwei){
include "test3.php";
}
?>
</td>
</tr>
</table>
Zuletzt bearbeitet von einem Moderator: