Re: [phplib] mysql:last_insert_id() From: Peter Niederlag (Peter <email protected>)
Date: 04/11/01

> RTFM:

I do thoroughly ;-)

$sqlquery1="INSERT INTO fragen(Frage_Text, F_Kat_Id) VALUES
(\"$fragetext\"),\"$f_kat_id\")";
=> so far I don't INSERT any id's and let mysl do the job with
auto_increment.

This way i dont know how to get the id mysql assigned.
Is there any way to get the id, or do i have to change using the
$db->nextid(seq_name) function of db_mysql.inc?
Are there any other reasons for using $db->nextid(seq_name) ?
Thx, Peter

--
Peter Niederlag
Hannover-Germany

http://www.theater-kopflos.de , das Improensemble in Hannover http://www.clown-goli.de , Clown-Comedy-Jonglage-Animation

--------------------------------------------------------------------- To unsubscribe, e-mail: phplib-unsubscribe <email protected> For additional commands, e-mail: phplib-help <email protected>