Re: auto increment
| From: | Ignatius Reilly | Date: | Thu, 05 Dec 2002 12:12:49 +0000 |
| Subject: | Re: auto increment | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17288@lists.php.net to get a copy of this message | ||
You can not do it straightforwardly. The required data type does not exist
in MySQL. An auto_increment field is of type INTEGER.
Ignatius
____________________________________________
----- Original Message -----
From: "Pat Johnston" <patj@ncable.net.au>
To: <php-windows@lists.php.net>
Sent: Thursday, December 05, 2002 12:35 PM
Subject: [PHP-WIN] auto increment
> Hi
> With php, just wondering if anyone knows if I can auto increment a number
> that has a part string? Is it possible to code this for an ID in MySQL
> database?
>
> ie
> rur01
> rur02
> rur03
>
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>