Re: SQL

From: Date: Thu, 19 Oct 2000 03:37:35 +0000
Subject: Re: SQL
Groups: php.db 
Request: Send a blank email to php-db+get-3777@lists.php.net to get a copy of this message
Salute ! > $query="insert into email values(null,'$from','$to','$subject',null,'','','',null)"; > mysql_query($query) or die(mysql_error()); > The first column is an auto_incremented id, > which I need to know so I can store the content of the email in a file with that name. > What PHP function do I need? No PHP function but the MySQL-Query: last_insert_id() Bye, Ingo.

« previous php.db (#3777) next »