Re: Re: deprecated mysql funcs
| From: | Hartmut Holzgraefe | Date: | Mon, 05 Jan 2004 15:56:15 +0000 |
| Subject: | Re: Re: deprecated mysql funcs | ||
| References: | 1 2 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969357959@lists.php.net to get a copy of this message | ||
Mehdi Achour wrote:
Friedhelm Betz wrote:without mysql_insert_id() it would take three calls (query, fetch, free) instead of one for this rather common operation so IMHO it deserves its existance even in spite of the existance of a 'pure' SQL level alternative -- Hartmut Holzgraefe <hartmut@php.net>Hi, these funcs are considered deprecated and suggested to use proper SQL syntax instead. [...] Probably some more?What about : [...]mysql_insert_id SELECT LAST_INSERT_ID();