[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
Advertisement

Sql database in Folder Trees

Moderators: Calcifer, slothy

Sql database in Folder Trees

Postby Rudu » Wed Mar 22, 2006 11:06 pm

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
Rudu
 
Posts: 1
Joined: Wed Mar 22, 2006 11:02 pm

Postby Batalf » Wed Mar 22, 2006 11:39 pm

Batalf
Site Admin
 
Posts: 2160
Joined: Sat Oct 22, 2005 9:38 pm


Return to Folder tree questions

Who is online

Users browsing this forum: No registered users and 2 guests

cron