shopex490
在数据库自增表中 insert成功一条数据 拿不到lastinsertid
core/include_v5/AloneDB.php lastinsertid里
Array
(
[rs] => Resource id #41
[sql] => SELECT LAST_INSERT_ID() AS lastinsertid
)
Array
(
[last_insert_id()] => 11
)
本来return的是 $row['lastinsertid'];
现在这个mysql上要取$row['last_insert_id()'];了 。。
在数据库自增表中 insert成功一条数据 拿不到lastinsertid
core/include_v5/AloneDB.php lastinsertid里
Array
(
[rs] => Resource id #41
[sql] => SELECT LAST_INSERT_ID() AS lastinsertid
)
Array
(
[last_insert_id()] => 11
)
本来return的是 $row['lastinsertid'];
现在这个mysql上要取$row['last_insert_id()'];了 。。