PEAR Packages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPEAR Packages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old May 5th, 2006, 01:10 AM
fffcfranklin fffcfranklin is offline
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2007
Location: spencer IN.
Posts: 1 fffcfranklin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
html_menu

I am tryin to get rollin with html_menu
I don't think I'm getting the hash correct...

the error I'm getting:
Fatal error: Only variables can be passed by reference in /usr/lib/php/HTML/Menu.php on line 306

Code:
$inside_sub = array('title'=>'webDesign','url'=>'http://some_site.com/digital_portfolio/');
$parent_menu= array('title'=>'some_site','url'=>'http://some_site.com/', 'sub'=> $inside_sub );

//just to test my menu hash
print_r($parent_menu);

// Load the class
require_once 'HTML/Menu.php';

// Instantiate the menu object
$menu =& new HTML_Menu($parent_menu, 'tree');

// Output the menu
$menu->show();

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPEAR Packages > html_menu


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway