class subscribe { public $email; public $s; public $sdate; function subs($email, $sdate) { // Fixed: Explicitly named database table columns (adjust 'email' and 'sdate' columns if named differently in your database) $q = "insert into newsletter(email, sdate) values ('$email', '$sdate')"; $db = new dboperation1(); $db->getconnection(); $rs = $db->insertquery($q); return $rs; } function viewnews() { $q = "select * from newsletter"; $db = new dboperation1(); $db->getconnection(); $rs = $db->selectquery($q); return $rs; } } class contact { public $cname; public $cemail; public $cphone; public $ccompany; public $cmsg; public $cdate; function coninst($cname, $cemail, $cphone, $ccompany, $cmsg, $cdate) { $q = "insert into contact(cname, cemail, cphone, ccompany, cmsg, cdate) values ('$cname', '$cemail', '$cphone', '$ccompany', '$cmsg', '$cdate')"; $db = new dboperation1(); $db->getconnection(); $rs = $db->insertquery($q); return $rs; } function viewenquiry() { $q = "select * from contact"; $db = new dboperation1(); $db->getconnection(); $rs = $db->selectquery($q); return $rs; } } 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="color: #333333; font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 14px; text-align: justify;">Cheese head screws maximize driving power by combining the greatest head height with the smallest head diameter you can get in a metric machine </span><span class="Wrd" style="white-space: nowrap; color: #333333; font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 14px; text-align: justify;">screw.</span><span style="color: #333333; font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 14px; text-align: justify;"> Slotted screws meet DIN</span><span class="Wrd" style="white-space: nowrap; color: #333333; font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 14px; text-align: justify;">84.</span><span style="color: #333333; font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 14px; text-align: justify;"> Fully </span><span class="Wrd" style="white-space: nowrap; color: #333333; font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 14px; text-align: justify;">threaded.</span><span style="color: #333333; font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 14px; text-align: justify;"> Length is measured from under the </span><span class="Wrd" style="white-space: nowrap; color: #333333; font-family: arial, helvetica, sans-serif; font-size: 12px; line-height: 14px; text-align: justify;">head.</span></p>