Heiya people. Mind of i ask a bit of your time? Thanks.
Now, i need to check a result of CustomQuery which contain UPDATE command. Is it fail (no record updated), or success?
I think i need some function that will return 'number of affected rows'-like, with the parameter is the CustomQuery result.
If there are such function, it should works in all SQL command passed into CustomQuery, like SELECT, INSERT, DELETE, etc, etc.
I did search the forum for such method, and found nothing.
By the way, there is such function in PHP which uses MySQL server: mysql_num_rows. I did try this function, which i rename
into db_num_rows (for i see function db_fetch_array which is very similiar with mysql_fetch_array), but this is the respond:
Fatal error: Call to undefined function db_num_rows() in ...
So, any idea? All input is very welcome.