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>This polyethylene spill truck is chemical-resistant and water-resistant. It is wheel-mounted for maximum mobility and designed to store a wide variety of absorbent products.</p>
<p>Technical Specifications</p>
<p>Item : Empty Spill Truck</p>
<p>Mfr No/Item No : SC-XLBIN/2NCR4</p>
<p>Color : Orange</p>
<p>Material : Polyethylene</p>
<p>Length : 40-1/2"</p>
<p>Width : 57-1/2"</p>
<p>Height : 47"</p>
<p>Includes : Hinged Lid</p>
<p>Standards : DOT, SPCC, NPDS, UN 1H2/X100/S</p>