problems with php4rc1 and mysql
| From: | Gregor Welters | Date: | Fri, 31 Mar 2000 14:35:43 +0000 |
| Subject: | problems with php4rc1 and mysql | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-12946@lists.php.net to get a copy of this message | ||
Hi!
there are a few probs with php4rc1 and mysql-functions:
- mysql_query produces a warning, like "could not return result-set" after an (successful or not) insert-query.
- mysql_query("something") or die($mysql_error()); dies everytime, regardless of the success of the operation (that means, it dies also with an empty mysql_error())
- mysql_insert_id returns 0 in every case (and that is always wrong, autoincremented id's start with 1).
mit freundlichen Grüßen,
Gregor Welters
-----------------------------
Welters PC-Service Grafenberger Allee 81 40237 Düsseldorf Germany
Tel: 0211/9660096 Mobil: 0173/2776469 Fax: 0211/9660093 mailto: gwelters@welters.de look at: http://www.welters.de