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-size: 11.0pt; line-height: 115%; font-family: 'Calibri','sans-serif'; mso-ascii-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin; mso-bidi-font-family: 'Times New Roman'; mso-bidi-theme-font: minor-bidi; mso-ansi-language: EN-US; mso-fareast-language: EN-US; mso-bidi-language: AR-SA;">Use this motor in clean, dry, and nonhazardous applications, including fans, blowers, pumps, printing equipment, and other business machines</span></p>
<p class="MsoNoSpacing">Technical Specifications :</p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Item: General Purpose Motor</p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Motor Application: General Application</p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Motor Design: Split-Phase</p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Motor Enclosure Design: Open Dripproof</p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">HP: 1/2</p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Nameplate RPM: 1725</p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Frame: 56z</p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Voltage: 115</p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Hz: 60</p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Phase: 1</p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Full Load Amps: 8.9</p>
<p> </p>
<p class="MsoNormal" style="margin-bottom: 0.0001pt;">Motor Mounting Type: Cradle Base </p>