Re: find row id where i input

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The easiest way is to use mysql_insert_id();

----- Original Message ----- From: "bedul" <landavia81@xxxxxxxxx>
To: <tg-php@xxxxxxxxxxxxxxxxxxxxxx>; <php-db@xxxxxxxxxxxxx>
Cc: <APWKomitel@xxxxxxxxxxxxxxx>
Sent: Saturday, January 27, 2007 12:14 AM
Subject:  find row id where i input


i'm creating a big database using mysql.
after input into database i want to know what id (row id) where my data
input whereabout.
consider i don't have many user where access and input in same time.. but i
just want to make preparation for the case.

how can i able to know what id i have?? any suggestion

=====================================
Inserted rows: 1
Inserted row id: 2 (Query took 0.0277 sec)
================================

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux