FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » passing variable to a nested array
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: passing variable to a nested array [message #172045 is a reply to message #172013] Fri, 28 January 2011 09:24 Go to previous message
Captain Paralytic is currently offline  Captain Paralytic
Messages: 204
Registered: September 2010
Karma:
Senior Member
On Jan 27, 6:20 pm, Andrew <Andrew_mem...@newsguy.com> wrote:
> In article <ihqvv501...@drn.newsguy.com>, Andrew says...
>
>
>
>> Here's an interesting item I could use some help with. Let's say I have a row of
>> boxes made from <ul><li> tags, named "A", "B", "C". When a visitor clicks on
>> "A", a list of names and other information appear below that row. How can I
>> direct the code to select the proper array?
>> I know about nested arrays. Will I need a nest for each <li> block or what?
>
> Well, I was able to find a script that actually creates the basic menu as I
> want.
>
> http://www.phpeasycode.com/sitemenu/
>
> So now with some tweaking I can create the <li> driven menu system as I wanted.
>
> Who the hell is this richard chap you guys seem to think I am? You guys seem to
> think anyone who asks a simple question must be this idiot. I can assure you, I
> am not him.
Why he's the person who in the third post in this thread posted:
"Ok so heres the code:
<ul>
<li> Au</li>
<li>Fook</li>
<li>Yew</li>
</ul>"

So that would be you then!
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Best strategy for creating an application scoped variable?
Next Topic: Converting Perl to PHP, testing CLI with $_POST (newbie)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 10:14:59 GMT 2024

Total time taken to generate the page: 0.04786 seconds