This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $qinssalesitem=sqlquery("insert into tbl_salesitem (salesid, prodid, qty, unitprice,subtotal, consignment, courier_name, courier_img) values (?,?,?,?,?,?,?,?)"); | |
| $qinssalesitem->bindValue(1,$salesid); | |
| $qinssalesitem->bindValue(2,$prodid); | |
| $qinssalesitem->bindValue(3,$qty); | |
| $qinssalesitem->bindValue(4,$harga); | |
| $qinssalesitem->bindValue(5,$amount); | |
| $qinssalesitem->bindValue(6,$courier); | |
| $qinssalesitem->bindValue(7,$couriername); | |
| $qinssalesitem->bindValue(8,$courierlogo); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $result=$json['result'][0]; | |
| $rates=$result['rates']; | |
| foreach($rates as $rate){ | |
| $service_id=$rate['service_id']; | |
| $shipment_price=$rate['shipment_price']; | |
| $courier_name=$rate['courier_name']; | |
| $dropoff_point=$rate['dropoff_point']; | |
| $delivery=$rate['delivery']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "api_status": "Success", | |
| "error_code": "0", | |
| "error_remark": "", | |
| "result": [ | |
| { | |
| "REQ_ID": "", | |
| "status": "Success", | |
| "remarks": "", | |
| "rates": [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| //Post data dari order form | |
| $custnama=$_POST['custnama']; | |
| $custtel=$_POST['custtel']; | |
| $custemail=$_POST['custemail']; | |
| $custaddress=$_POST['custaddress1']; | |
| $custaddress2=$_POST['custaddress2']; | |
| $custaddress3=$_POST['custaddress3']; | |
| $custposkod=$_POST['custposkod']; | |
| $custcity=$_POST['custcity']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ID | KODNEGERI | KODPARLIMEN | NAMAPARLIMEN | KODDUN | NAMADUN | |
|---|---|---|---|---|---|---|
| 1 | R | P001 | PADANG BESAR | P001N001 | TITI TINGGI | |
| 2 | R | P001 | PADANG BESAR | P001N002 | BESERI | |
| 3 | R | P001 | PADANG BESAR | P001N003 | CHUPING | |
| 4 | R | P001 | PADANG BESAR | P001N004 | MATA AYER | |
| 5 | R | P001 | PADANG BESAR | P001N005 | SANTAN | |
| 6 | R | P002 | KANGAR | P002N006 | BINTONG | |
| 7 | R | P002 | KANGAR | P002N007 | SENA | |
| 8 | R | P002 | KANGAR | P002N008 | INDERA KAYANGAN | |
| 9 | R | P002 | KANGAR | P002N009 | KUALA PERLIS |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "candidates" : [ | |
| { | |
| "formatted_address" : "Kampung Belukar, 16700 Pulai Chondong, Kelantan, Malaysia", | |
| "geometry" : { | |
| "location" : { | |
| "lat" : 5.866709, | |
| "lng" : 102.214773 | |
| }, | |
| "viewport" : { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| select a.poskod, a.lokasi, a.bandar, b.fullnegeri from postcode a | |
| inner join tblnegeri b on a.negeri=b.shortnegeri | |
| where a.poskod='16600' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ID | Poskod | Lokasi | Bandar | Negeri | |
|---|---|---|---|---|---|
| 16952 | 25000 | Bangunan LKNP | Kuantan | PHG | |
| 16953 | 25000 | Biro Tata Negara Pahang | Kuantan | PHG | |
| 16954 | 25000 | Jabatan Bekalan Elektrik | Kuantan | PHG | |
| 16955 | 25000 | Jalan Bank | Kuantan | PHG | |
| 16956 | 25000 | Jalan Besar | Kuantan | PHG | |
| 16957 | 25000 | Jalan Gambut | Kuantan | PHG | |
| 16958 | 25000 | Jalan Haji Abd Aziz | Kuantan | PHG | |
| 16959 | 25000 | Jalan Haji Abd Rahman | Kuantan | PHG | |
| 16960 | 25000 | Jalan Lebai Ali | Kuantan | PHG |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $title=$graph->title; | |
| $url=$graph->url; | |
| $description=$graph->description; | |
| $image=$graph->image; | |
| echo "<img src=\"".$image."\"><br><a href=\"".$url."\">".$title."</a><br>".$description; | |
| ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| OpenGraph Object | |
| ( | |
| [_values:OpenGraph:private] => Array | |
| ( | |
| [locale] => ms_MY | |
| [site_name] => mazudi // Code In My Head | |
| [title] => RSS feed, Json API dan URL Penyedia Berita Malaysia | |
| [url] => https://mazudi.me/rss-feed-json-api-dan-url-penyedia-berita-malaysia/ | |
| [type] => article | |
| [description] => Kalau dulu-dulu RSS feed famous untuk stream content update dari blog, penyedia berita dan forum. Terdapat banyak aplikasi yang berfungsi untuk memaparkan feed-feed ini yang dipanggil RSS Reader.Sekarang ni RSS feed jarang digunakan malah dah hampir susah nak cari penyedia berita mainstream |
NewerOlder