상품이 없을 때 안내 문구 추가

This commit is contained in:
chicpro
2013-07-26 09:45:05 +09:00
parent c5721e0a0d
commit 3223fa0144
3 changed files with 39 additions and 4 deletions

View File

@ -28,6 +28,8 @@ for($i=0;$row=sql_fetch_array($result);$i++) {
if($list)
$list = '<ul>'.$list.'</ul>';
else
$list = '<p>등록된 상품이 없습니다.';
echo $list;
?>