회원아이디 넘어오지 않을 경우는 쿼리 실행하지 않음
This commit is contained in:
@ -28,6 +28,10 @@ function count_mb_id($reg_mb_id)
|
||||
function exist_mb_id($reg_mb_id)
|
||||
{
|
||||
global $g4;
|
||||
|
||||
$reg_mb_id = trim($reg_mb_id);
|
||||
if ($reg_mb_id == "") return "";
|
||||
|
||||
$sql = " select count(*) as cnt from `{$g4['member_table']}` where mb_id = '$reg_mb_id' ";
|
||||
$row = sql_fetch($sql);
|
||||
if ($row['cnt'])
|
||||
|
||||
Reference in New Issue
Block a user