Re: [PHP-DB] getting serial in PHP

2003-03-31 Thread Rick Morris
On Mon, 31 Mar 2003, Roger 'Rocky' Vetterberg wrote: > [Snip] > > > >>About the second suggestion, just pulling the data back out; I could > >>do that, but the only thing that is unique in the string is the > >>timestamp. Theoretically, on a busy site even that could be identical > >>in two rows

Re: [PHP-DB] getting serial in PHP

2003-03-31 Thread Roger 'Rocky' Vetterberg
[Snip] About the second suggestion, just pulling the data back out; I could do that, but the only thing that is unique in the string is the timestamp. Theoretically, on a busy site even that could be identical in two rows. (Since timestamp is in one millionth of a second, its not very likely but

Re: [PHP-DB] getting serial in PHP

2003-03-31 Thread Roger 'Rocky' Vetterberg
Nathaniel Price wrote: - Original Message - From: "Roger 'Rocky' Vetterberg" <[EMAIL PROTECTED]> To: "kevin myers" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, March 31, 2003 4:52 AM Subject: Re: [PHP-DB] getting serial in PHP *

Re: [PHP-DB] getting serial in PHP

2003-03-31 Thread Nathaniel Price
- Original Message - From: "Roger 'Rocky' Vetterberg" <[EMAIL PROTECTED]> To: "kevin myers" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Monday, March 31, 2003 4:52 AM Subject: Re: [PHP-DB] getting serial in PHP [snip] > >> Fro

Re: [PHP-DB] getting serial in PHP

2003-03-31 Thread Roger 'Rocky' Vetterberg
ot;; and then use it that way, or maybe you can do this: $log_id = nextval('public.logs_log_id_seq'::text); and then insert it that way From: "Roger 'Rocky' Vetterberg" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: [PHP-DB] getting serial in PHP Date: Fr

[PHP-DB] getting serial in PHP

2003-03-28 Thread Roger 'Rocky' Vetterberg
Hi list. I have no real education in PHP or postgre, so forgive me if I dont use the correct language or expressions. I have a small problem that is probably easily solved if you just know how to do it. I have a PHP interface over a postgreSQL database, where I can search, add, delete or modif