
 jan michalik - 2008-03-22 21:48:44
i have something like this:
$query = mysql_query("select * from treetest where node_id='$id'");
$text = mysql_fetch_array($query);
if($text[node_path]!="x"){
$cesta = str_replace(".", " > ", $text[node_path]);
$cesta = substr($cesta, 1); 
	  }
echo $cesta." > ".$text[node_id];
//result leke this:  > 77 > 743 > 2001
// i need write instead node_id  node_title so then should looks like this: >   europe > germany > berlin,  help me pls how to write the script. than you.