Re: mysql error and resource ID:
| From: | John Holmes | Date: | Mon, 18 Oct 2004 10:46:18 +0000 |
| Subject: | Re: mysql error and resource ID: | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-36886@lists.php.net to get a copy of this message | ||
Stuart Felenstein wrote:
First time setting something like this up. So probably making some major mistakes. Anyway I get this message : "mysql_error(Resource id #2)" [snip]
echo " . mysql_error($link)";Read the above line or use an editor that does syntax highlighting. Also, you'll want to get the error before you run the rollback() function. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com