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
5 matches
Mail list logo