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 #172000 is a reply to message #171999] Thu, 27 January 2011 10:09 Go to previous messageGo to previous message
alvaro.NOSPAMTHANX is currently offline  alvaro.NOSPAMTHANX
Messages: 277
Registered: September 2010
Karma:
Senior Member
El 27/01/2011 10:22, richard escribió/wrote:
> On Thu, 27 Jan 2011 09:27:14 +0100, "Álvaro G. Vicario" wrote:
>
>> El 27/01/2011 6:31, Andrew escribió/wrote:
>>> 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?
>>
>> You don't post a single line of code because you haven't started the
>> script yet or because you want to make us guess? :-P
>
> Ok so heres the code:
> <ul>
> <li> Au</li>
> <li>Fook</li>
> <li>Yew</li>
> </ul>

If that's the code, then I'm afraid the question is beyond my PHP
skills, sorry.


> The rule is, you must ask, "Where's the url?".

I beg your pardon?


--
-- http://alvaro.es - Álvaro G. Vicario - Burgos, Spain
-- Mi sitio sobre programación web: http://borrame.com
-- Mi web de humor satinado: http://www.demogracia.com
--
[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: Sat Nov 23 17:36:06 GMT 2024

Total time taken to generate the page: 0.05803 seconds