<?php
@include "config.php";
$result = mysql_query("SELECT * FROM users ORDER BY taskai") or die('Error : ' . mysql_error());
while($row = mysql_fetch_array($result))
{
if($row['taskai'] == 0)
{
echo $row['taskai'];
echo ", ";
}
}
?>