Building TreeMenu from a database

Discuss everything related to ApPHP TreeMenu. Any questions related to the ApPHP TreeMenu developing or using should be posted to this forum.

Moderators: alexandrleonenko, Milton

tj.ortigas
Newbie
Newbie
Posts: 2
Joined: May 23rd, '11, 02:20

Re: Building TreeMenu from a database

Postby tj.ortigas » May 23rd, '11, 02:23

Does this require any library? I'm new here, I don't know where to get the attachments. Thankyou!

tj.ortigas
Newbie
Newbie
Posts: 2
Joined: May 23rd, '11, 02:20

Re: Building TreeMenu from a database

Postby tj.ortigas » May 23rd, '11, 02:33

where do i get these stuff?
require_once(TREEMENU_DIR.'treemenu.class.php');
$treeMenu = new TreeMenu();
$treeMenu->SetStyle("paneled");

Ddesign
Newbie
Newbie
Posts: 1
Joined: Sep 10th, '11, 01:15

Re: Building TreeMenu from a database

Postby Ddesign » Sep 10th, '11, 01:20

Hello,

Support has told me that the tree can be populated with a mysql stored procedure... can we get an example please?

example:

CALL some_procedure (arg1, arg2, arg3,) ;

thanks

administrator
Site Admin
Site Admin
Posts: 5997
Joined: Jan 7th, '09, 23:18
Contact:

Re: Building TreeMenu from a database

Postby administrator » Sep 11th, '11, 08:04

Example:

Code: Select all

SELECT *, MY_PROCEDURE(field1,  field2) FROM table


Why do you need to use procedures? And which procedure you want to use?


Return to “ApPHP TreeMenu”