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 men
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
> 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 JavaS
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 by using
JavaScript or is there a way in php as well?
This is how I imagine the tree menu should look like:
v First level
> Second level
> Second
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".
>
>
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".
What is the most obvious wa
On Fri, 2003-12-05 at 01:27, Šimon Tóth wrote:
> But how do I make an array where each of successor is also an array.
>
> The structure should be something like this:
> $root['ID']=0;
> $root['From']="";
> $root['Subj']="";
> $root['Replays'] - ???
>
> Each of the succesors must have same structu
But how do I make an array where each of successor is also an array.
The structure should be something like this:
$root['ID']=0;
$root['From']="";
$root['Subj']="";
$root['Replays'] - ???
Each of the succesors must have same structure as $root.
Simon Toth
mailto:[EMAIL PROTECTED]
http://kerberos
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.
--
.-
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?
Thx a lot
Simon Toth
mailto:[EMAIL PROTECTED]
http://kerberos.knows.it
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: htt
om table limit $P, $C
> >
> > Make a link at the bottom
> >
> > $NextPage = $P + $C;
> > if ($P > $C)
> > $PreviousPage = $P - $C;
> > else
> > $PreviousPage = 0;
> >
> > print "Next Page";
> >
> > You get the idea...
; $NextPage = $P + $C;
> if ($P > $C)
> $PreviousPage = $P - $C;
> else
> $PreviousPage = 0;
>
> print "Next Page";
>
> You get the idea...
>
>
>
> -Original Message-
> From: Alexander Ross [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 08, 2002 6
der Ross [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 08, 2002 6:22 PM
To: [EMAIL PROTECTED]
Subject: [PHP] tree structures
I am creating a message board (pretty standard) using php and mysql. In
order to manage all the posts and replies I am using a treenode structure
(so that I can recursively ad
I am creating a message board (pretty standard) using php and mysql. In
order to manage all the posts and replies I am using a treenode structure
(so that I can recursively add, delete, display, etc...) Everything works so
far (www.bleen.net/forum). I want to be able to display 10 posts (includi
Hi,
I'm trying to build a tree of objects in PHP, and having all sorts of
trouble. Ideally, I'd like to end up with a reference to an object,
which has an array of (references to) child-objects. Each child-object,
except the root, also contains a reference to its parent. A sample :
name = $name
as i had announced a while ago on pear-dev that i have a tree class
which works on DB-data, now it is more enhanced and also works on XML
(for now it can only read but within a week or something it will also
be able to write)
short description:
-
this class reads data from
Hi,
Has anybody a snippet or something to build a treeview with data from a
MySQL table ?
Thanks,
Ing. Gustavo A. Edelstein
Tech. Mgr.
Equiplus Argentina S.A.
__
Visit us On Line at www.equiplus.com
Email addresses:
Operations: [EMAIL PROTECTED]
Consulting: [EM
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
Hi,
can someone tell me where I can get
some Tree Menu ?
Thanks,
Rosen Marinov
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
26 matches
Mail list logo