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;">- Resistant to UV rays</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;">- Fiberglass polyester</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;">- With high mechanical and thermal performance composit</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;">- Wide beam angle (Hammerd surface)</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;">- Narrow beam angle (Polished surface)</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;">Toughened safety glass (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;"> 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