Php / SQL ile nasıl kontrol döngü 0 iken seçili veritabanındaki alanları varsa?
$res = mysql_query('SELECT id, name FROM table'); \\check here?
while($row = mysql_fetch_array)
{
\\or check here?
}
Şimdiden teşekkürler!
EDIT: I need to select all fields and then check if any one of them is 0.