Quote:
|
Originally Posted by mAV3
i think auto generation of page numbers is only possible in php not sure though but i certainly dont think html has such a script
|
HTML cannot generate any dynamic content and has no scripting. Dynamic content on a page could be possible in 2 ways:
- Clientside (your machine) - e.g. Javascript, VBscript
- Serverside - e.g. PHP, ASP
But in this case, it depends on the number of pages
physically present on the server. As far as I think (from common sense) it is not possible to count the files on the server!!
However, it is possible to find out if a file exists or not with the PHP's file_exists() function. So if a uniformity is maintained in naming the file, this list at the bottom could be dynamically generated. But writing this code needs effort and time. The simpler way out is to make the navigation manually and include it.
Of course, if it keeps changing every now and then, then it may justify the time spend in writing the code. But here the number of pages will change only when a new page will added manually. So alongwith an added page, if this navigation file is also modified, it will take less time than writing the code.