Re: INSERT img+ID
| From: | Dee Ayy | Date: | Fri, 13 Feb 2009 18:57:39 +0000 |
| Subject: | Re: INSERT img+ID | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-45952@lists.php.net to get a copy of this message | ||
On Sat, Jan 24, 2009 at 7:01 AM, Emiliano Boragina
<emiliano.boragina@gmail.com> wrote:
>
> I want to insert a JPG image ($creacion) with the ID (from the data base,
> MEDIUMINT AUTOINCREMENT): 23image.jpg in the data base, and send the
> information to a e-mail addres. How do I do that?
>
> Thanks a lot,
>
>
>
> + _
> // Emiliano Boragina _
> // Diseño & Comunicación //////////////////
mysql_insert_id
http://us3.php.net/manual/es/function.mysql-insert-id.php