|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
||||
|
||||
|
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? |
|
#2
|
|||
|
|||
|
RE: templating
don't understand your question.
why not use a while loop to store your links in an the array? |
![]() |
| Viewing: Codewalkers Forums > Other Technologies > Programming Theory > templating |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|
|
|