Re: How do I know when to
| From: | Raquel Rice | Date: | Sat, 12 Jan 2002 01:38:52 +0000 |
| Subject: | Re: How do I know when to | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-15682@lists.php.net to get a copy of this message | ||
On Fri, 11 Jan 2002 17:21:28 -0800
Jerry Leonard "Jerry Leonard" <gcarlyle2@attbi.com> wrote:
> Okay this is the way I understand the statement below. The uid
> will be a
> number from 1 to 10, max length of ten digits say starting at 1
> then as the
> next user registers it will automatically make that user number 2.
>
> Am I correct?
>
> CREATE TABLE users (
> uid int(10) unsigned NOT NULL auto_increment,
You are correct that it will automatically increment the 'uid' of
each new record beginning with '1', using the digits 0 - 9 (1 to
9999999999).
Check out the manual for "Create Table".
--
Raquel
============================================================
Nothing happens in consequence to nature, only in consequence to
what we know of it.
--Scully, "X-Files"