find row id where i input

find row id where i input

am 27.01.2007 07:14:07 von bedul

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

Re: find row id where i input

am 27.01.2007 07:32:12 von Alexander

The easiest way is to use mysql_insert_id();

----- Original Message -----
From: "bedul"
To: ;
Cc:
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
>

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