Anzahlfilme

<?php

$sql = "SELECT COUNT(*) FROM filme";

mysql_connect("localhost", "root", "");
mysql_select_db("videothek");
$ergebnis = mysql_query($sql);
mysql_close();

while ($n = mysql_fetch_row($ergebnis)) {
for ($i = 0; $i <= count($n); $i++) {
echo $n[$i];
}

}
?>

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License