fix andy badges

uid); $found = false; while ($testrow = db_fetch_object($testresult)) $found=true; if (!$found) { db_query("insert into user_badges_user (uid,bid) values (%d,15)",$row->uid); } else { } } ?>