'$email'";
$result = $this->selectQuery($sql);
return $result[0]->Id;
}
function insertTestUser($insertData) {
$sql = "INSERT INTO test_akl_insert VALUES (" . $insertData . ")";
$insertAction = parent::insertQuery($sql);
return $insertAction;
}
여기 데이터 삽입 오류가 있습니다. 내 오류가 여기에 있습니다 :SQL 데이터 삽입이있는 erro가 있습니다.
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1)' at line 1
나를 어떤 몸 도와주세요 !!!!
당신이 코드의 자세한 내용을 게시 할 수 있습니까? 무엇보다 먼저 오는 것은 무엇입니까 : "$ email" "; $ result = $ this-> selectQuery ($ sql); return $ result [0] -> Id; }? –
'$ insertData'는 숫자입니까? 어느 쪽이든 매개 변수를 사용하십시오. –