Re: Need Function generating integers

From: Date: Thu, 01 Mar 2001 10:19:20 +0000
Subject: Re: Need Function generating integers
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-42147@lists.php.net to get a copy of this message
In article <Pine.LNX.3.96.1010301102752.419D-100000@localhost>, beddima@univ-nkc.mr ("M. A. Ould-Beddi") wrote: > I need a sequence of small integers for primary > keys in mysql tables; I want php to generate them. > How can I do that? A sequence of integers for the primary of a table in a mysql database.... Mind if I ask why you don't want to use let mysql do that by assigning "auto_increment" to the field? -- CC

« previous php.general (#42147) next »