wieso schluckt dieser php-script den ersten kompletteintrag des arrays???
ich dreh gleich durch weil ich den fehler einfach nicht finde!!!
die eigentliche funktion sollte eigentlich sein: wenn die suche feststellt das in dem array nichts ist soll sie das ausgeben.
aba wie gesagt: das funktionniert nicht :(
plz help
<?php
include('table.inc.php');
$result_test = mysql_fetch_array($search_send);
if ($submit) { if (!$result_test) { echo"<p>keine Film in der Datenbank gefunden</p>";
} else {
echo"
<table border="0">
<tr><td width="200" height="100" valign="top" colspan="2"><p>Folgende Titel wurden gefunden</p></td></tr>
";
while ($result = mysql_fetch_array($search_send)){
echo"
<tr><td width="120"><p>ID:</p></td><td><p>$result[0]</p></td></tr>
<tr><td width="120"><p>Filmname:</p></td><td><p>$result[1]</p></td></tr>
<tr><td width="120"><p>Länge:</p></td><td><p>$result[2]</p></td></tr>
<tr><td width="120"><p>1. Sprache:</p></td><td><p>$result[3]</p></td></tr>
<tr><td width="120"><p>2. Sprach:</p></td><td><p>$result[4]</p></td></tr>
<tr><td width="120"><p>Tonquallität:</p></td><td><p>$result[5]</p></td></tr>
<tr><td width="120"><p>Bildquallität:</p></td><td><p>$result[6]</p></td></tr>
<tr><td width="120"><p>Medienanzahl:</p></td><td><p>$result[7]</p></td></tr>
<tr><td width="120"><p>Medientyp:</p></td><td><p>$result[8]</p></td></tr>
<tr><td width="120"><p>Bemerkung:</p></td><td><p>$result[9]</p></td></tr>
<tr><td width="120"><p>1. Link:</p></td><td><p>$result[10]</p></td></tr>
<tr><td width="120" height="100" valign="top"><p>2. Link:</p></td><td height="100" valign="top"><p>$result[11]</p></td></tr>
";}
}
echo"</table>";
}
else {
echo"
<form method="post" action="search.php">
<p>suche</p><input type="text" name="name" values="suche" size="20">
<input type="submit" name="submit" value="senden">
</form>
";}
?>