query($q);
while ($set->next()) {
$noda=$set->getString('node_id');
echo "Uchadzac ";
echo $set->getString('login');
echo "
Jeho noda:: ";
echo $set->getString('node_id');
echo "
";
echo " pocet hlasov:: ";
echo $set->getString('k');
echo "
";
$q="delete from users where user_id=$noda";
echo $q;
$db->update($q);
echo "
";
// XXX hard coded, fix
$q="delete from nodes where node_vector like '020914480$noda%'";
echo $q;
$db->update($q);
echo "
";
echo "