I embeded the code in my home page and tried to create my own menu of the
web site:

<?$hostobj=mgd_get_host($midgard->host);
$pageid=$midgard->page;
while($pageid){
$page=mgd_get_page($pageid);
?>
    <tr>    <BR>&(page.title);</BR> </tr>
   <?
   $pageid=$page->up;
   }
   ?>
I only can get the host title, not the page's. My page's URL is like
"host/PR". I am a newbie of PHP.  Please help!

If there is code on how to generate menu?

Thanks a lot.

Rene

CONFIDENTIALITY : This e-mail and any attachments are confidential and may
be privileged. If you are not a named recipient, please notify the sender
immediately and do not open any attachments hereto, disclose the contents
of this e-mail or the attachments if any thereto, to another person, use it
for any purpose or store or copy the information in any medium.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to