Two phpLens objects, one embedded within the other:
From category table
This is from a child table!
Beverages
Product
Qty/Unit
Price
LEO 10 boxes x 20 bags 18.00
Changie 24 - 12 oz bottles 0.00
Guaraná Fantástica 12 - 355 ml cans 4.50
Sasquatch Ale 24 - 12 oz bottles 14.00
Steeleye Stout 24 - 12 oz bottles 18.00
Côte de Blaye 12 - 75 cl bottles 263.50
Chartreuse verte 750 cc per bottle 18.00
Ipoh Coffee 16 - 500 g tins 46.00
Laughing Lumberjack Lager 24 - 12 oz bottles 14.00
Outback Lager 24 - 355 ml bottles 15.00
Rhönbräu Klosterbier 24 - 0.5 l bottles 7.75
Condiments
Product
Qty/Unit
Price
Producto, super 12 - 550 ml bottles 10.12
Chef Anton's Cajun Seasoning 48 - 6 oz jars 22.00
Chef Anton's Gumbo Mix 36 boxes 21.35
Northwoods Cranberry Sauce 12 - 12 oz jars 40.00
Genen Shouyu 24 - 250 ml bottles 15.50
Gula Malacca 20 - 2 kg bags 19.45
Sirop d'érable 24 - 500 ml bottles 28.50
Vegie-spread 15 - 625 g jars 43.90
Louisiana Fiery Hot Pepper Sauce 32 - 8 oz bottles 21.05
Louisiana Hot Spiced Okra 24 - 8 oz jars 17.00
Original Frankfurter grüne Soße 12 boxes 13.00
Confections
Product
Qty/Unit
Price
Zaanse koeken 10 - 4 oz boxes 9.50
Teatime Chocolate Biscuits 10 boxes x 12 pieces 9.20
Scottish Longbreads 10 boxes x 8 pieces 12.50
Chocolade 10 pkgs. 12.75
Schoggi Schokolade 100 - 100 g pieces 43.90
Gumbär Gummibärchen 100 - 250 g bags 31.23
Valkoinen suklaa 12 - 100 g bars 16.25
NuNuCa Nuß-Nougat-Creme 20 - 450 g glasses 14.00
Maxilaku 24 - 50 g pkgs. 20.00
Sir Rodney's Scones 24 pkgs. x 4 pieces 10.00
Sir Rodney's Marmalade 30 gift boxes 81.00
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.