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

More Examples:   View Source:   Nested Table Demo

Free Download

Two phpLens objects, one embedded within the other:

  PHPLens
E Srch
(e)From category table (e)This is from a child table!
Beverages
Product Qty/Unit Price
LEO10 boxes x 20 bags
18.00
Changie24 - 12 oz bottles
0.00
Guaraná Fantástica12 - 355 ml cans
4.50
Sasquatch Ale24 - 12 oz bottles
14.00
Steeleye Stout24 - 12 oz bottles
18.00
Côte de Blaye12 - 75 cl bottles
263.50
Chartreuse verte750 cc per bottle
18.00
Ipoh Coffee16 - 500 g tins
46.00
Laughing Lumberjack Lager24 - 12 oz bottles
14.00
Outback Lager24 - 355 ml bottles
15.00
Rhönbräu Klosterbier24 - 0.5 l bottles
7.75
Condiments
Product Qty/Unit Price
Producto, super12 - 550 ml bottles
10.12
Chef Anton's Cajun Seasoning48 - 6 oz jars
22.00
Chef Anton's Gumbo Mix36 boxes
21.35
Northwoods Cranberry Sauce12 - 12 oz jars
40.00
Genen Shouyu24 - 250 ml bottles
15.50
Gula Malacca20 - 2 kg bags
19.45
Sirop d'érable24 - 500 ml bottles
28.50
Vegie-spread15 - 625 g jars
43.90
Louisiana Fiery Hot Pepper Sauce32 - 8 oz bottles
21.05
Louisiana Hot Spiced Okra24 - 8 oz jars
17.00
Original Frankfurter grüne Soße12 boxes
13.00
Confections
Product Qty/Unit Price
Chocolade10 pkgs.
12.75
Gumbär Gummibärchen100 - 250 g bags
31.23
Maxilaku24 - 50 g pkgs.
20.00
NuNuCa Nuß-Nougat-Creme20 - 450 g glasses
14.00
Pavlova32 - 500 g boxes
17.45
Schoggi Schokolade100 - 100 g pieces
43.90
Scottish Longbreads10 boxes x 8 pieces
12.50
Sir Rodney's Marmalade30 gift boxes
81.00
Sir Rodney's Scones24 pkgs. x 4 pieces
10.00
Tarte au sucre48 pies
49.30
Teatime Chocolate Biscuits10 boxes x 12 pieces
9.20
  PHPLens (Page 1)  
E Srch

Notes

This demo shows the use of nested phplens objects. We use a powerLens in the main $lens object to call the ChildLens() function that displays the embedded phpLens object.

Note how we use output buffering to store the child lens. This example requires the commercial version of phpLens as output buffering is disabled in the demo version.

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