Copy
if($ordernum && $rname && $sname && $rdate && $mobile) { $sql = "insert into sell_order "; $sql .= "(gtype, ordernum, member_uid, member_name, o_name, o_mobile, "; $sql .= "o_email, goods_name, tot_price, adult, youth, child, exper, pgTID, "; $sql .= "pgtype, bank, banknum, option01, option02, option03, "; $sql .= "user_IP, stat, regdate) ";.....
여기서 달러표시가 한개, 두개연속으로 나타나있는
if($ordernum && $rname && $sname && $rdate && $mobile) 이건 무슨의미인가요?
이해되기 쉽게 설명 부탁드립니다ㅠㅠ
답변 1개
채택된 답변
+20 포인트
불량학생™
2015-01-29 (목) 17:12:46
http://php.net/manual/kr/language.variables.basics.php
변수가 무엇인지를 먼저 공부하셔야 할 듯
답변을 작성하려면 로그인이 필요합니다.