Date: 10/15/01
- Next message: Russ Michell: "Re: [PHP-DB] mysql ID's"
- Previous message: Adam Jackson: "[PHP-DB] mysql ID's"
- Maybe in reply to: Adam Jackson: "[PHP-DB] mysql ID's"
- Next in thread: Russ Michell: "Re: [PHP-DB] mysql ID's"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
if you use an auto_increment column type a new number will be created
for all new records. I don't think there's an auto_incrementing
alphanumberic column type - you'd have to do it with code
hth
Dave
-----Original Message-----
From: Adam Jackson [mailto:adam <email protected>]
Sent: 15 October 2001 14:27
To: php-db <email protected>
Subject: [PHP-DB] mysql ID's
i dont know if this should be posted here or a mysql list but its worth
a
try..
I am trying to make it so that when i create a row with user details one
of
the columns is automatically generated with the next id. for example
p00001,
p00002 etc etc. I am fairly new to PHP, MySQL so bare with me :)
any assistance is greatly appreciated.
-Adam
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Russ Michell: "Re: [PHP-DB] mysql ID's"
- Previous message: Adam Jackson: "[PHP-DB] mysql ID's"
- Maybe in reply to: Adam Jackson: "[PHP-DB] mysql ID's"
- Next in thread: Russ Michell: "Re: [PHP-DB] mysql ID's"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

