<?php

echo "I rule";
//returns a lineage of parents of the node in question in an array
function get_parents_list($n_id){
    global $db, $error;
    $q="select node_vector from nodes where nodes.node_id='".$n_id."'";
    $set=$db->query($q);
    if ($set->next()) {
        $node_vector=$set->getString('node_vector');
    }else{
        $count="error?!? nonexistent node?";
    }
    $parents = str_split($node_vector, 8);
    return $parents;
}



?>
