0

I'm constructing an adapter for MySQL in PHP and I was wondering what should MySQL query execution method return? Should it return a result set? Or the last id / affected rows?

4

1 に答える 1

0

mysql_query() returns a result set on success, or false if something went wrong.

http://us3.php.net/manual/en/function.mysql-query.php

于 2009-10-08T07:43:45.917 に答える