Search found 3 matches

by pfpro
Mon May 14, 2007 2:02 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Menu from MySQL *SOLVED*
Replies: 5
Views: 3827

chill, yeah ;)

like i mentioned my template engine echos my output for me

the solution i found is:


<?
ob_start();

buildMySQLMenu(1);
$mmenu = ob_get_contents();

ob_end_clean();
?>


on template side:


<div style="height:30">
[var.mmenu]
</div>


i thought the (still) wonderful milonic menu might offer a ...
by pfpro
Fri May 11, 2007 9:06 am
Forum: Help & Support for DHTML Menu Version 5+
Topic: Menu from MySQL *SOLVED*
Replies: 5
Views: 3827

template engine - no echo

come on guys...
that wasn't the type of answer i expected
i'm using a template system...
and want to store the menu output in a string via php
to place this var in my template file

no echo at all
i hate echo!
by pfpro
Thu May 10, 2007 3:13 pm
Forum: Help & Support for DHTML Menu Version 5+
Topic: Menu from MySQL *SOLVED*
Replies: 5
Views: 3827

Menu from MySQL *SOLVED*

I try to include the menu (from sql) into my template engine (tbs)

is there any way to store the menu in a string first and display "later", instead of direct echo

like this:

Code: Select all

$mmenu = buildMySQLMenu(1);
echo $mmenu;
thx in advance
phil