Teddy's Promotion Idea
저는 프로모션 테이블을 별도로 만들고 service_item 과 조인할 예정입니다.create table promotion ( p_no int not null AUTO_INCREMENT, p_name varchar(50) not null default '', # Promotion name p_service int not null default 0, p_kind char(1) not null default 'P', # P : price, R : rate p_value int not null default 0, p_sdate date, p_edate date, PRIMARY KEY (p_no), KEY (p_service) ); order_add.php 부분에서 오늘 날자에 해당하는 프로모션을 ..