cnt, cf_page_rows 땀표 정리 및 #47의 1에 따른 처리

This commit is contained in:
whitedot committed 2012-11-16 10:39:15 +09:00
1 parent 1149d86cf7
commit 09bc4e69b2
24 files changed
+48 -47

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ if ($w == '')
{
$sql = " select count(*) as cnt from {$g4['group_table']} where gr_id = '{$_POST['gr_id']}' ";
$row = sql_fetch($sql);
if ($row['cnt'])
if ($row[cnt])
alert('이미 존재하는 그룹 ID 입니다.');
$sql = " insert into {$g4['group_table']}