if(!class_exists('MySql'))
{ include('MySql.php'); }
$sql=new MySql();
$sql->connect();
$sqlCommand="insert into `freecomputermarket`.`members`
(`UserName`,`Password`,`Email`,`BirthDate`,`RegisterationDate`,`ActivationCode`,
`ActivationLink`,`IsActive`,`Gender`)
values('$this->_userName','$this->_password','$this->_email','$this->_birthDate',
'$this->_registerationDate','$this->_activationCode','$this->_activationLink',
'$this->_isActive','$this->_gender')";
$sql->query($sqlCommand);
我怎麼能得到插入的自動增量ID?從MySQL自動遞增值插入查詢
狡猾的第三點! – nickhar