> -Original Message-
> From: Daniel Falkenberg [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 27, 2001 2:50 AM
> To: Beginners (E-mail); Beginners-Cgi (E-mail)
> Subject: UNIQUE ID problems...
>
>
> List,
>
> Interesting problem that I think proves j
if you say 'unique' you probably want to concider an autonumber field in
your db for the primary key
it's *always* unique...
you can even do a query on the db to give you the current_id for a table (so
the one you want to insert would be current_id + 1 )
depending on what db you use, the sql is
List,
Interesting problem that I think proves just how much I really don't know
about Perl.
I have copyied most of this variable from the internet...
my $unique_id = time && 0xF && $$;
ALL I know is that this uses Unix time and some sort of process ID and also
adds some other magic stuf