Hi, ich habe statt frages ne Tabelle gebaut, wo ich mit php nen include reinbaue.
So, wenn ich jetzt aber oben rein ins die oeber Tabellenspalte nen Banner setzten will, dann ist die Spalte sofort ca. 3mal so hoch, worann liegt das?
http://www.ich-lerne-noch.de/index.php?showid=1 <<so siehts aus, und hier der Quelltext:
<?php
$showid = $_GET["showid"];
if(!isset($showid)) {
$file="news.php";
}
else {
include('includes/connect.inc.php');
$get = mysql_query("select * from showid where id='".$showid."'");
$result = mysql_fetch_array($get);
$file = $result["file"];
}
?>
<html>
<head>
<title>Ich-lerne-noch.de - Das Webmasterportal</title>
</head>
<body>
<center>
<table width="100%" height="100%">
<tr>
<th colspan="3"><?php include('includes/head.php'); ?></th>
</tr>
<tr height="21">
<th align="left" colspan="3" valign="center" background="images/background-line.jpg"></th>
</tr>
<tr>
<th align="left" valign="top" width="15%"><?php include('includes/left.php'); ?></th>
<th align="center" valign="top" width="70%"><?php include('includes/'.$file); ?></th>
<th align="right" valign="top" width="15%"><?php include('includes/right.php'); ?></th>
</tr>
</center>
</body>
</html>
Die Includete head.php sieht einfach nur so aus:
<img src="images/schriftzug.jpg">
Das ist auch schon alles, thx 4 Help