MySQL query execution return value?
Question
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?
Solution
mysql_query()
returns a result set on success, or false
if something went wrong.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow