Date: 07/13/01
- Next message: Rankin, Randy: "RE: [PHP-DB] Escaping &"
- Previous message: Andreas Iwanowski: "[PHP-DB] Chose ID from Table ?"
- Maybe in reply to: Andreas Iwanowski: "[PHP-DB] Chose ID from Table ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
If you're using MySQL you could try with mysql_insert_id()
http://www.php.net/manual/en/function.mysql-insert-id.php
Dobromir Velev
-----Original Message-----
From: Andreas Iwanowski <aimk <email protected>>
To: php-db <email protected> <php-db <email protected>>
Date: Friday, July 13, 2001 2:12 PM
Subject: [PHP-DB] Chose ID from Table ?
>Hello
>How can i do this here:
>I have a script, where i insert informations into a table.
>I now want now to read out the ID those informations got.
>
>Hot to do that ?
>
>--
>
>
>mfg, andy
>
>-----------------------------------------
>In Memoriam - Jaques
>www.amdclan.de/jaques
>------------------------------------------
>
>
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-db-unsubscribe <email protected>
>For additional commands, e-mail: php-db-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
>
>
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Rankin, Randy: "RE: [PHP-DB] Escaping &"
- Previous message: Andreas Iwanowski: "[PHP-DB] Chose ID from Table ?"
- Maybe in reply to: Andreas Iwanowski: "[PHP-DB] Chose ID from Table ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

