간단한 쿠폰번호 생성 정보
PHP 간단한 쿠폰번호 생성본문
$str = "1234567890ABCDEFGHIJKLMNOPQRSTUVWXYZ";
$code1 = substr(str_shuffle($str),0,4);
$code2 = substr(str_shuffle($str),0,4);
$code3 = substr(str_shuffle($str),0,4);
$code = $code1."-".$code2."-".$code3;
다들 아실테니 ㅎㅎㅎ
추천
1
1
댓글 0개