Forum Moderators: coopster
So i made een .php script for my website en past the same query in it
$query1 = "SELECT Count(Biernaam) AS One FROM Bierlijst WHERE (Biertype = 'Tripel') and (Stemmen > 9)";
$result1 = mysql_query($query1)
or die("Fout bij uitvoeren query");
While ($row = mysql_fetch_assoc($result)){
echo $row[Biernaam];
}
To make connection to the database is no problem, but we i start the query then i got no results back and it had to be 3 rows.
What can be the problem
$query1 = "SELECT Count(Biernaam) AS One FROM Bierlijst WHERE (Biertype = 'Tripel') and (Stemmen > 9)";
$result1 = mysql_query($query1)
or die("Fout bij uitvoeren query");
While ($row = mysql_fetch_assoc($result1)){
echo $row[Biernaam];
}
So i have still the problem.