Is it just me, or is the documentation for these two functions totally wrong? They are sopposed to return int values, either a "result identifier", or 0, if the query fails. However, it looks to me like it always returns a string. If the query returns data (i.e. a SELECT query), then it returns something like "Resource id #2". If the query doesn't return anything (i.e. an INSERT or whatever), or if it fails, it returns an empty string. So, how does one tell the difference between a failed query and a query with no results?
-brad P.S. Which one is broken, the docs or the implementation, and are they going to be fixed? -- Bradley Bell Computer Support Analyst University of Washington Classroom Support Services -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]