php class category { function getmaincatlist() { $q = "select * from category"; $db = new dboperation1(); $db->getconnection(); $rs = $db->selectquery($q); return $rs; } function returnmaincat($cid) { $q = "select * from category where cid='$cid'"; $db = new dboperation1(); $db->getconnection(); $rs = $db->selectquery($q); return $rs; } // Fixed: Safely closed the function } // Fixed: Safely closed the category class
<p><span style="font-weight: bold; color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;">Body :</span><br style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;" /><span style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;">- Pressed and anodized aluminium</span><br style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;" /><span style="font-weight: bold; color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;">Reflector :</span><span style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;"> 99.9% purity anodized aluminum</span><br style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;" /><span style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;">- Forged surface (wide angle)</span><br style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;" /><span style="font-weight: bold; color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;">Glass :</span><span style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;"> 4mm thick,heat and impact resistant, tempered</span><br style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;" /><span style="font-weight: bold; color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;">Lampholder :</span><span style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;"> E40 EN 60238 porcelain</span><br style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;" /><span style="font-weight: bold; color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;">Gasket :</span><span style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;"> Heat-resistant, solid, equal to the density of each point</span><br style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;" /><span style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;">CNC Machine tools poured polyurethane.</span><br style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;" /><span style="font-weight: bold; color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;">Cable :</span><span style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;"> 1.5 mm silicon</span><br style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;" /><span style="font-weight: bold; color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;">Ballast :</span><span style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;"> EN 60923-EN 61347-2-9</span><br style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;" /><span style="font-weight: bold; color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;">Ignitor : </span><span style="color: #333333; font-family: Calibri; font-size: 14.6667px; background-color: #f0f0f0;"