Re: [PHP4BETA] DB in PEAR and other questions
| From: | Manuel Lemos | Date: | Sat, 06 May 2000 03:34:07 +0000 |
| Subject: | Re: [PHP4BETA] DB in PEAR and other questions | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14571@lists.php.net to get a copy of this message | ||
Hello Andrew,
On 05-May-00 19:23:12, you wrote:
>3) Also, has anyone wrapped the mysql function mysql_insert_id() in the
>mysql.php?
The problem is that not all DBMS support auto incremented fields. If you
want to write portable database applications, you'd better not use tables
with auto incremented fields. If you don't want to write portable
applications, maybe it is better that you use mysql functions directly.
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--