Thx.
I a bit of a n00b so don't always understand.
I is a lot clearer now thank you
--
JJ Harrison
[EMAIL PROTECTED]
www.tececo.com
"Richard Lynch" <[EMAIL PROTECTED]> wrote in message
news:20020703212954.BFUU903.sccrmhc03.attbi.com@[192.168.1.103]...
> >when I echo menu($id) I get the current
>when I echo menu($id) I get the current page's title.
>
>How do I print it's peers and it's single parent?
You will need a second query to ask for all the children of the parent:
$peer_query = "select id as child_id, title from meta_data where pid =
$pid";
$peers = mysql_query($query) or error_
Thanks for that info.
I am still a bit new to programming/PHP to fully grasp that but I am sure I
will in time.
*anyway*
when I echo menu($id) I get the current page's title.
How do I print it's peers and it's single parent?
--
JJ Harrison
[EMAIL PROTECTED]
www.tececo.com
P.S. I originally
On Mon, Jul 01, 2002 at 08:00:39PM -0400, Analysis & Solutions wrote:
> Hi Richard:
Oops. Meant to reply directly to Ricahrd. Sorry 'bout that.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info |
Hi Richard:
Nice to have you back on the list. I've noticed your replies are not
winding up back in the threads due to the Reference header not being set
by Outlook.
While this isn't going to cause the end of the world, it'd be nice if they
were there.
Enjoy,
--Dan
--
PHP c
>I have a table with id, pid(parent), title and page_name(url) fields.
>
>The vars provided to the script are the current page's title, id and
>pid(parent)
You can look up the parent and in the database, so it's not horribly
important that those be provided.
*UNLESS* you have a heterarchy, and n
6 matches
Mail list logo