[PHP-DB] random 'card number' generator
by Desmond Coughlan other posts by this author
Nov 24 2006 12:08AM messages near this date
Re: [PHP-DB] Any hints lantin1 utf-8
|
Re: [PHP-DB] random 'card number' generator
X-No-Archive: true
Hello,
I'm learning PhP and trying to write a library catalogue system, that uses a PostgreSQL back
-end. My db looks like this ...
http://www.chez.com/desmondcoughlan/unix/bibliotheque.sql
I had originally planned to have a username in place of 'card_number', but realised that the
re was no point. What I need now is the PhP code that will create a card number, and rather
than having a sequence, I want a random three-digit number. Can someone point me in the di
rection of where and how PhP can do this?
Thanks.
D.
---------------------------------
D�couvrez une nouvelle fa�on d'obtenir des r�ponses � toutes vos questions ! Profit
ez des connaissances, des opinions et des exp�riences des internautes sur Yahoo! Questions
/R�ponses.
Thread:
Desmond Coughlan
Jeffrey
|