Re: [PHP] ID value

2001-01-31 Thread Piotr Duszynski
> $sql = "INSERT INTO songs (id,name,url) VALUES > ('','Foobar','test.php?id=)"; > > The id is autoincrement so obviously left blank, yet I'd like to put it into > the url where is. > > How do I go about dragging back the id even though it is being created (I > suppose) while the statement is

RE: [PHP] ID value

2001-01-23 Thread Sam Masiello
:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 10:17 AM To: [EMAIL PROTECTED] Subject:[PHP] ID value Hi, I wonder whether anyone can shed some light onto this for me... Say I have this example insert: $sql = "INSERT INTO songs (id,name,url) VALUES ('','

[PHP] ID value

2001-01-23 Thread Robert Morrissey
Hi, I wonder whether anyone can shed some light onto this for me... Say I have this example insert: $sql = "INSERT INTO songs (id,name,url) VALUES ('','Foobar','test.php?id=)"; The id is autoincrement so obviously left blank, yet I'd like to put it into the url where is. How do I go about d