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 ?> Industrial Procurement Portal | Home

All Industrial Products

Lydia Supply Portal
Blank Plate

Blank Plate

AED 0.00 View Details
2 Gang Data Socket

2 Gang Data Socket

AED 0.00 View Details
Control Unit With Neon

Control Unit With Neon

AED 0.00 View Details
Dp Switch W/Neon

Dp Switch W/Neon

AED 0.00 View Details
13AMP Double Socket

13AMP Double Socket

AED 0.00 View Details
3 Gang 2 Way

3 Gang 2 Way

AED 0.00 View Details
2 Gang 2 Way

2 Gang 2 Way

AED 0.00 View Details
13AMP Switch Socket Single 3X3

13AMP Switch Socket Single 3X3

AED 0.00 View Details
13AMP Switch Socket Single 3X6

13AMP Switch Socket Single 3X6

AED 0.00 View Details
Bell Push

Bell Push

AED 0.00 View Details
EX Corrosives/Acid Steel Safety Cabinet 44"H 30 gal

EX Corrosives/Acid Steel Safety Cabinet 44"H 30 gal

AED 0.00 View Details
EX Corrosives/Acid Steel Safety Cabinet 30 gallons

EX Corrosives/Acid Steel Safety Cabinet 30 gallons

AED 0.00 View Details
EX Corrosives/Acid Steel Safety Cabinet 30 gal

EX Corrosives/Acid Steel Safety Cabinet 30 gal

AED 0.00 View Details
EX Corrosives/Acid Steel Safety Cabinet 35"H 30 gal

EX Corrosives/Acid Steel Safety Cabinet 35"H 30 gal

AED 0.00 View Details
EX Corrosives/Acid Steel Safety Cabinet 45 gal

EX Corrosives/Acid Steel Safety Cabinet 45 gal

AED 0.00 View Details