This code will produce a useful navigation resource, showing visitors where they are in your site. Version 1.01 Fixed bug which printed wrong URL for more than one directory
deep paths. Version 1.02 Removed some legacy code from the original implementation at users.f2s.com
Only 3 steps are needed to have your fully customized dynamic navigation or sitemap: 1. give the navigation data (PHP array or XML file, 2. specify the styles, 3. specify the
current page the user is looking at
example was developped with Oracle, to display tree-like 3-levels product categories.
I have finally gotten around to cleaning up this script and making it work for more levels. This cascading menu is straight-forward and simple. It does require a little
fore-thought as to how you want to layout your menu, but other than that, it is straight forward!
This code allows some conditioal testing for file based menus. I used it to write a wizzard that enable/disables menu entrys by selecting specific options. This code can
evaluate statements like SESSION_VAR= as true ore false. In that way you can use a text file that contains a menu entry and an expression for the wizazrd steps.
This script is not actually a class. I just want to show you how to make paging with result set and how to display it not all of the link page, but separate it in some number
of stage. It can be easly adapted to your general class.
maybe a good tutorial ??? I took me 2 days to make this, because it's the first time i use classes in PHP ... I first started to code like in JAVA, and PHP doesn't use
'static' variables or functions in classes... but i finally found !!! maybe some cut/paste/modiiy errors or typos, because i had to generalise the code here (instances name).
This script enables you to create page number links and previous / next links. It is useful when displaying search results or large amount of data. It also allows user to
choose how many records to display per page. To use it simply replace MySQL queries with your own. With small changes you can use it with any database server. If you have any
questions, comments, or if you find any bugs please feel free to contact me: Author: Ilir Fekaj Contact: firstname.lastname@example.org Created: July 01. 2003. Modified: July 01. 2003.
If you like it, use it, you can also give me a credit
A demonstration of how you can quickly edit your navigation menu (sub-menu, sub-sub-menu, sub-sub-sub-menu, sub...) and display them dynamically with PHP using a
Multidimensional array and a recursive function.
You have a query results number about 100000 record, then what you should do to view all of them ?, paging ?...yah good, but how many page would it shown in your page if every
page is only view 100 record ? 1000 link page ? get real!!!.
For those of you who does'nt know, pagination (in the Web world) is usually dividing a large list of items into several pages, and then providing a nifty link for it. You
usually see pagination link displayed like this: PREV 1 2 3 4 5 NEXT
Displays "you are here" information in text, and link form ralative to your path in the following format: Site > Directory > Sub Directory > Page Currently truncates
the .php file extension, and uses > seperators, but can be changed easily. This is BSD Licensed.