php designe "hvad gør jeg forkert"
hey der ude har et problem med et par koder er ved at lave en box til min hjemme side men den vil ikke slutte tætlink: http://test.unigamers.net/box/
"Index.php" kode:
<?php
include "mytheme.php";
opentable("Test");
echo "test dette er en test<br>test dette er en test<br>test dette er en test<br>test dette er en test<br>test dette er en test<br>test dette er en test<br>";
closetable();
?>
"mytheme.php" kode:
<?php
function opentable($title) {
echo "<table width='50%' cellpadding='0' cellspacing='0'>
<tr>
<td class='b-top-left'><img src='1.png' width='24' height='24' alt='' style='display:block'></td>
<td class='b-top'><img src='2.png' width='24' height='24' alt='' style='width:100%'></td>
<td class='b-top-right'><img src='3.png' width='24' height='24' alt='' style='display:block'></td>
</tr>
</table>
<table width='100%' cellpadding='0' cellspacing='0'>
<tr>
<td class='b-left'><img src='4.png' width='24' height='24' alt='' style='height:100%'></td>
<td class='main-body'>\n";
}
function closetable() {
echo "</td>
<td class='b-right'><img src='5.png' width='24' height='24' alt='' style='height:100%'></td>
</tr>
<tr>
<td class='b-bottom-left'><img src='6.png' width='24' height='24' alt='' style='display:block'></td>
<td class='b-bottom'><img src='7.png' width='24' height='24' alt='' style='width:100%'></td>
<td class='b-bottom-right'><img src='8.png' width='24' height='24' alt='' style='display:block'></td>
</tr>
</table>\n";
}
?>
hvad gør jeg forkert???





 
			


 
					 
					 
					 
					