// sql语句 返回最后的insert操作所产生的自动增长的id
$LastPlayerid = 0;
$rows =$sqlite->Query("SELECT MAX(id) FROM players");
if(isset($res['MAX(id)']))
$LastPlayerid = $row['MAX(id)'];
转载于:https://www.cnblogs.com/carl2380/archive/2012/08/03/2621648.html
// sql语句 返回最后的insert操作所产生的自动增长的id
$LastPlayerid = 0;
$rows =$sqlite->Query("SELECT MAX(id) FROM players");
if(isset($res['MAX(id)']))
$LastPlayerid = $row['MAX(id)'];
转载于:https://www.cnblogs.com/carl2380/archive/2012/08/03/2621648.html