Fix viewkey bug, $keys now is an array of keys instead of just raw output of mysql_fetch_assoc