Yes. For mysqli_*, I would assume it has better documentations because it is tied down to the MySQL server. I didn’t mention the PDO one because the documentations seem to be missing a robust way of checking for the error code. As you mentioned, with current versions, you see the correct error code. So in a way, both mysqli_ and PDO have this option, but mysqli_ is more extensive to where you can understand what is going on in the code. If PDO can some how get a better documentation of this, it would benefit everyone.
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.