RE: [PHP-DB] mysql ID's From: Dave Watkinson (d.watkinson <email protected>)
Date: 10/15/01

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>