phpbar.de logo

Mailinglisten-Archive

Re: mysql_insert_id
Archiv Mailingliste mysql-de

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

Re: mysql_insert_id



At 12:54 08.03.01 +0100, you wrote:
>hi,
>
>es mag ne doofe frage sein, aber wie frage ich mysql_insert_id per asp ab?
>
>das hier tuts nicht und ich depp komm nicht drauf ;)
>
>> query = "INSERT INTO dokumente (...) VALUES (...)"
>> RS.open query, nameConn

Wenn $sth der statement-handler des INSERT-Befehls ist, dann geht's mit:

	$sth->{ insertid }

Gruß
Horst



_____________________________________________________
PD Dr. Horst Lohnstein
Institut für deutsche Sprache und Literatur
Universität zu Köln
Albertus Magnus Platz

D-50923 Köln


phone: +49 (0)221 470-5236
fax:      +49 (0)221 470-5107
email:   Horst.Lohnstein_(at)_uni-koeln.de
URL:     http://www.uni-koeln.de/phil-fak/idsl/dozenten/lohnstein

---
*** Weitere Infos zur Mailingliste und MySQL unter http://www.4t2.com/mysql 


Home | Main Index | Thread Index

php::bar PHP Wiki   -   Listenarchive