Pragmatically changing a "Record Number"

From: Date: Wed, 29 Aug 2007 17:49:02 +0000
Subject: Pragmatically changing a "Record Number"
Groups: php.general 
Request: Send a blank email to php-general+get-261469@lists.php.net to get a copy of this message
Hi Everyone, I think after I get this question answered, I can stop asking for awhile since my project will be done, at least until the users say "What happened to XYZ????" then I'll ask again :) I asked on a MySQL list about "Resetting a auto increment filed" so that there arn't any gaps in the record number. So to say it another way, I have a table that has 900 records in it, I've added 3 records, but then deleted 2 of those which puts the actual record count at 901 but my auto increment field starts at 904 on the next insert. Is there away with PHP that I can pragmatically change that value to the total records in the database more so then a representation of the actual record number? -- Jason Pruim Raoset Inc. Technology Manager MQC Specialist 3251 132nd ave Holland, MI, 49424 www.raoset.com japruim@raoset.com

« previous php.general (#261469) next »