[g5] 일본휴대폰 검사하기. > 팁앤테크

본문 바로가기
사이트 내 전체검색

팁앤테크

[g5] 일본휴대폰 검사하기.

페이지 정보

본문

 

lib/register.lib.php 

function exist_mb_hp($reg_mb_hp, $reg_mb_id)
{
    global $g5;

    if (!trim($reg_mb_hp)) return "";

    $reg_mb_hp = hyphen_hp_number($reg_mb_hp);

    $sql = "select count(*) as cnt from {$g5['member_table']} where mb_hp = '$reg_mb_hp' and mb_id <> '$reg_mb_id' ";
    $row = sql_fetch($sql);

    if($row['cnt'])
        return " 既に使用中の携帯電話番号です。 ".$reg_mb_hp;
    else
        return "";
}

추천0

댓글목록

등록된 댓글이 없습니다.

SELECT COUNT(DISTINCT `wr_parent`) AS `cnt` FROM g5_write_tipntech WHERE ((INSTR(LOWER(mb_id2c1), LOWER('mny58'))) ) and (wr_num between -825 and (-825 + 10000))

1054 : Unknown column 'mb_id2c1' in 'where clause'

error file : /bbs/board.php