
January 24th, 2004, 07:36 PM
|
 |
Moderator
|
|
Join Date: Apr 2007
Location: United Kingdom
Posts: 1,947

Time spent in forums: 4 Days 6 h 10 m 55 sec
Reputation Power: 4
|
|
|
templating
Hi i have a problem or rather a question.
I have a template for my site but the nav bar is dynamic it selects all info from a database. Here is where my problem is i want to use a while loop to create links to every page but since the templating system im making uses arrays to store what the tags should be replaced with so i cant use a while loop in it. What would i do write the while loop to a seperate file then put into the array "nav" => "nav.php"; and include it that way into the template?
|