sf-q3.cHa0s
Mitglied
so, der fehler lautet:
1 is not a valid MySQL-Link resource in c:\apache\htdocs\blablabla\logins.php on line 21
hier das script:
(wird später includet, der fehler is aber in der datei hier...)
1 is not a valid MySQL-Link resource in c:\apache\htdocs\blablabla\logins.php on line 21
hier das script:
PHP:
<html>
<?php
$fsquad = $asquad;
$db = mysql_connect();
$act = "select * from $tabelle";
$res = mysql_db_query("$datenbank", $act);
$num = mysql_num_rows($res);
for ($i=0; $i<$num; $i=$i+1)
{
$bla = mysql_result($res, $i, "bla");
$bla = mysql_result($res, $i, "bla");
$bla = mysql_result($res, $i, "bla");
$bla = mysql_result($res, $i, "bla");
$bla = mysql_result($res, $i, "bla");
mysql_close($db); //Zeile 21
}
?>
</html>