php8.0 버전 호환 코드 적용 및 PHP 끝 태그 삭제 일괄적용
This commit is contained in:
@ -4,8 +4,8 @@ include_once('./_common.php');
|
||||
if($is_guest)
|
||||
exit;
|
||||
|
||||
$price = preg_replace('#[^0-9]#', '', $_POST['price']);
|
||||
$send_cost = preg_replace('#[^0-9]#', '', $_POST['send_cost']);
|
||||
$price = isset($_POST['price']) ? preg_replace('#[^0-9]#', '', $_POST['price']) : 0;
|
||||
$send_cost = isset($_POST['send_cost']) ? preg_replace('#[^0-9]#', '', $_POST['send_cost']) : 0;
|
||||
|
||||
// 쿠폰정보
|
||||
$sql = " select *
|
||||
|
||||
Reference in New Issue
Block a user