oh yes i remember now, when you do a array, it will start from 0
one more question, what is the effect if i use
$row = mysql_fetch_array($result); here because i see you are using mysql_fetch_assoc()
i have read the manual in php.net, but i still don't know what is the different between these 2 functions
if (!mysql_num_rows($result)) {exit('no records matching that mod_id');}
$row = mysql_fetch_assoc($result);
$levels = array('admin', 'mod');