프리샵 추가
This commit is contained in:
14
shop/ordersendcostcheck.php
Normal file
14
shop/ordersendcostcheck.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
include_once('./_common.php');
|
||||
|
||||
$zipcode = preg_replace("/[^0-9]/", "", $zip);
|
||||
|
||||
if(!$zipcode) exit;
|
||||
|
||||
$sql = " select sc_amount from {$g4['yc4_sendcost_table']} where sc_zip1 <= '$zipcode' and sc_zip2 >= '$zipcode' ";
|
||||
$row = sql_fetch($sql);
|
||||
|
||||
if($row['sc_amount']) {
|
||||
echo $row['sc_amount'];
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user