sql 2개 테이블에서 조회하기

sql 2개 테이블에서 조회하기

더시민 0 1018 0

select * from 제품테이블 where id=제품값 

 

 

랜덤한 값 오니까

 

function asc_bye_cart ($array,회원아이디){

if 배열이면 ->

while

select 장바구니날짜 from 장바구니 where id=제품아이디 and userid = 회원아이디 

$tmp[][0] = 제품아이디

$tmp[][1] = 장바구니날짜

 

소팅 장바구니 날짜

$result = array (tmp[][0], tmp[][0], ...);

return $result;

-----------------

 

}

 

이런식으로 구상

 

0 Comments
제목
Category
Facebook Twitter GooglePlus KakaoStory KakaoTalk NaverBand