| Alexander 2007-01-27, 3:57 am |
| The easiest way is to use mysql_insert_id();
----- Original Message -----
From: "bedul" <landavia81@gmail.com>
To: <tg-php@gryffyndevelopment.com>; <php-db@lists.php.net>
Cc: <APWKomitel@yahoogroups.com>
Sent: Saturday, January 27, 2007 12:14 AM
Subject: [PHP-DB] 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
>
|