I'm using PHP v.4.0.6. and PostgreSQL 7.2.  Does any one know the
equivilant of auto_increment for postgresSQL?  For example when creating
a table:

$query = "CREATE table $tablename (id INT UNSIGNED NOT NULL
AUTO_INCREMENT PRIMARY KEY, firstname TEXT, lastname TEXT, emailaddress
TEXT, )";

this works fine in MySQL, but I keep getting errors with PostgreSQL.

thanks for any help,
-Elkan


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to