[phpBB Debug] PHP Notice: in file /includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
www.dhtmlgoodies.com • View topic - Sql database in Folder Trees
Page 1 of 1

Sql database in Folder Trees

PostPosted: Wed Mar 22, 2006 11:06 pm
by Rudu
Hello!
Could you help mi in connecting these two things (sql + trees)
:oops:

$res = mysql_query("select ID,title,parentID,url from table_category") or die(mysql_error());
while($inf = mysql_fetch_array($res)){
$tree->addToArray($inf["ID"],
$inf["title"],
$inf["parentID"],
$inf["url"],
"_blank");
}

How should database look like(tables ect.), and where to point which DB I should use
Thanks

PostPosted: Wed Mar 22, 2006 11:39 pm
by Batalf