Re: How to know which row was affected with a querry ???

2001-07-31 Thread Werner Stuerenburg
MySQL returns the autoincrement number - ask it! In php, this is wrapped into mysql_insert_id(); Zbigniew Szczesny schrieb am Montag, 30. Juli 2001, 21:15:37: > Hello ! > I have a following problem while scripting MySQL with PHP4: > Imagine the user may add a record to a table. How can I know

RE: How to know which row was affected with a querry ???

2001-07-30 Thread Plytas, George
, July 30, 2001 3:16 PM To: [EMAIL PROTECTED] Subject: How to know which row was affected with a querry ??? Hello ! I have a following problem while scripting MySQL with PHP4: Imagine the user may add a record to a table. How can I know precisely what was the number (auto increment primary key

How to know which row was affected with a querry ???

2001-07-30 Thread Zbigniew Szczesny
Hello ! I have a following problem while scripting MySQL with PHP4: Imagine the user may add a record to a table. How can I know precisely what was the number (auto increment primary key) given by MySQL to this new inserted row ??? You may presume there are many simultaneus users adding rows,