how to get node's content in ShowContent?

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

Moderators: ne_moj, zewa, Milton, vadimako, ne_moj, zewa, Milton, vadimako

chirng
Master
Master
Posts: 148
Joined: Jun 7th, '09, 04:15

how to get node's content in ShowContent?

Postby chirng » May 17th, '18, 13:12

for example : $treeMenu->AddNode('Title', 'text.txt');

I would like to know how to display 'text.txt' for the $_POST['nodeid1'] in $treeMenu->ShowContent(); or beside it?

Please advise,

TQ

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

Re: how to get node's content in ShowContent?

Postby administrator » May 20th, '18, 15:19

$treeMenu->AddNode('Text','content/text.txt');

Simply create such file in directory content/
http://www.apphp.com/php-tree-menu/exam ... /index.php


Return to “ApPHP TreeMenu”