phpLens
 home  products examples manual  faq support forum  contact news  login store

More Examples:   View Source:   Master-Detail Demo

Free Download

Click on a category to view all products in that category:

This is a Demo. You can not change anything for security reasons.
Back to Grid     phpLens Settings   Choose   Generate PHP Code   Remove All Settings   ?  
 
IndexColumn NameActual TypePHPLens Type
1CATEGORYID int[11]R: Autonumber
2CATEGORYNAME string[45]C: Character
3DESCRIPTION blob[196605]X: Text
 

Notes

This demo shows the use of the powerLens to set the anchor tag for CATEGORYNAME and the dynamic select statement "select categoryid,categoryname,description from categories where categoryid='$gCategoryID'" used to display the product table. We use a session variable $gCategoryID to keep track of which details to display.

Note that each PHPLens object is created using a different ID (the first parameter in the constructor): ex900 and ex900p to ensure that there are no conflicts.

email: contact#phplens.com (change # to @)     telephone (malaysia): 60-3-7947 2888     fax (malaysia): 60-3-7947 2800