[PHP-DB] FW: [[PHP-DB] need a solution for web page navigation ] -- Recurrency always helps :)

2002-06-14 Thread José Moreira



-Mensagem original-
De: Pedro Oliveira [mailto:[EMAIL PROTECTED]]
Enviada: quinta-feira, 13 de Junho de 2002 17:33
Para: [EMAIL PROTECTED]
Assunto: [Fwd: Funcao recorrente para PHP ... guardar para me dar na
TGP]


-Forwarded Message-
From: José Moreira <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Funcao recorrente para PHP ... guardar para me dar na TGP
Date: 12 Jun 2002 01:04:18 +0100






-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP-DB] need a solution for web page navigation

2002-06-14 Thread chip . wiegand

I have a database of the menu items used on my web site, there are more 
than 100 entries. 
How do I set up navigation arrows to point to the next appropriate page, 
and the previous
page, from the database? I don't want to use javascript history function, 
navigation is too
important to allow it to be turned off in someones browser. 
Example:
Category 1 with it's own item1, item2, item3
Category 2 with it's own item1, item2, item3
Category 3 with it's own item1, item2, item3
all have next, previous, home links at the top of their pages, so category 
1 links to item 1, 
then item 1 links to item 2 etc. Category 2 has item 1 linked to it's own 
item 2 and so on,
and category 3 has it's own item 1 linked to it's own item 2 etc.
Now if I want to make item 3 in category 3 available on the category 1 
menu in addition to 
category 3, that's easy, but the links will point to category 3 pages, not 
category 1 pages.
Hmm, I'm sure this is clear as mud.
I know how to move forward and backward within the database, like in an 
image database,
I've done that before. But this is a little different, I don't know if it 
is even possible. I am using
php/mysql.
If anyone has any idea what I am trying to do please attempt to help...
--
Chip Wiegand
Computer Services
Simrad, Inc
www.simradusa.com
[EMAIL PROTECTED]

"There is no reason anyone would want a computer in their home."
 --Ken Olson, president, chairman and founder of Digital Equipment 
Corporation, 1977
 (They why do I have 9? Somebody help me!)

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php