Je geeft door in $query
wat is uw sql-tekenreeks , wanneer je moet slagen in $result
wat uw db-resultaatobject is.
class DBQueries extends DBConn {
function displayUsers(){
$this->dbConnection();
$query = "SELECT * FROM users";
$result = mysql_query($query);
while ($row = mysql_fetch_array($result)) {
echo $row['password'];
}
}
}