Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在用 PHP 为 MySQL 构建一个适配器,我想知道 MySQL 查询执行方法应该返回什么?它应该返回结果集吗?还是最后一个 id / 受影响的行?
mysql_query()成功或false出现问题时返回结果集。
mysql_query()
false
http://us3.php.net/manual/en/function.mysql-query.php