Hi,
I'd like to write my opinion quickly.. My way both usable with and without
JS...
In my structures there is an array of the menu elements similar to:
$menu[gravity][name] = link; - filled from database, easy to handle
to more prof., more params use three-dimensional array...
In the url u can
On 26 Jul 2011, at 19:01, Jasper Mulder wrote:
>
>> From: alekto.antarct...@gmail.com
>> Date: Tue, 26 Jul 2011 19:20:58 +0200
>> To: php-general@lists.php.net
>> Subject: [PHP] Tree menu list in php
>>
>> Hi,
>> is there a way to create a tree menu list only by using php/html/css?
>> I found so
Thank you all for good answers and explanations, think I will give JavaScript a
try!
Den 26. juli 2011 kl. 20.37 skrev Bojan Tesanovic:
> Look at it this way, PHP is just another scripting language, it processes
> data.
> That said PHP is not responsible for user interface , it just prints o
Look at it this way, PHP is just another scripting language, it
processes data.
That said PHP is not responsible for user interface , it just prints
out what you tell him to , it can be HTML XML JSON etc
presentation thing is eg HTML and CSS is for styling HTML, JS is to
dynamically change st
"Jasper Mulder" wrote in message
news:snt106-w6527d1e82d0a3efe6f76f1f7...@phx.gbl...
> From: alekto.antarct...@gmail.com
> Date: Tue, 26 Jul 2011 19:20:58 +0200
> To: php-general@lists.php.net
> Subject: [PHP] Tree menu list in php
>
> Hi,
> is there a way to create a tree menu list only by usin
> From: alekto.antarct...@gmail.com
> Date: Tue, 26 Jul 2011 19:20:58 +0200
> To: php-general@lists.php.net
> Subject: [PHP] Tree menu list in php
>
> Hi,
> is there a way to create a tree menu list only by using php/html/css?
> I found some, but they are all in JavaScript, do I have to make them
On 16/11/2007, Paul van Haren <[EMAIL PROTECTED]> wrote:
> I'm trying to use arrays to implement a sort of data tree. For the code to
> work, it is essential that the nodes can be edited after they have become
> part of the tree. That would require that the array elements are pushed
> "by reference
Paul van Haren wrote:
> Thanks, the empasant helps!
ampersand :-)
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
What is the most obvious way to implement a tree-like structure in PHP?
Use someone elses code that already works. :) Array based tree class is
here:
http://www.phpguru.org/Tree/Tree.phps
--
Richard Heyes
+44 (0)800 0213 172
http://www.websupportsolutions.co.uk
Knowledge Base and HelpDesk s
Thanks, the empasant helps!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Paul van Haren wrote:
> I'm trying to use arrays to implement a sort of data tree. For the code to
> work, it is essential that the nodes can be edited after they have become
> part of the tree. That would require that the array elements are pushed
> "by reference" rather than "by value".
>
>
On Fri, 2003-12-05 at 00:51, Šimon Tóth wrote:
> Hi,
>
> i need to create a tree. Each of the nodes can have 0-n succesors and
> also has some properties. How can be something like this created in
> PHP?
Can just use an array where each successor is also an array.
Cheers,
Rob.
--
.-
Never mind .. That can't happen because of how I build the tree .. thank
you!!!
"Alexander Ross" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Yes but the first 10 rows may or may not be the correct information to
> post
>
> Post 1 = "test1
> Post 2 = "
Yes but the first 10 rows may or may not be the correct information to
post
Post 1 = "test1
Post 2 = "test2"
Post 3 = "re: test1"
Post 4 = "test3"
...
Post 11 = "re test1"
I think that illustrates what I mean.
Thanks for your help
Alex
"Ed Lazor" <[EMAIL PROTECTED]> wrote in message
[EMA
You're basically paging through results. You have a SQL statement to get
the data - just limit the statement to only draw information applicable to
the page you're on. Like this:
select * from table limit 0,10;
That will select the first 10 records.
Then you can use variables.
if (empty($P))
http://www.webreference.com/dhtml/hiermenus/instructions/noframes/step4.html
It's client side javascript and very as a beautifull look.
Dominique Paquin
""Rosen"" <[EMAIL PROTECTED]> wrote in message
98akm9$poe$[EMAIL PROTECTED]">news:98akm9$poe$[EMAIL PROTECTED]...
> Hi,
> can someone tell me
16 matches
Mail list logo