In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hi guys,
>
> I never can get mysql_insert_id?
> Is this broken with PHP4?
> Please let me know if you can get it to work. or work around.
>
> Thanks.
I have had no problem with it - perhaps if you could show the list your
code someon
Clemson Chan wrote:
> Hi guys,
>
> I never can get mysql_insert_id?
> Is this broken with PHP4?
> Please let me know if you can get it to work. or work around.
It works here, but it returns only an ID if the table in which you add a
record has a AutoIncrement column, because it will returns the v
"Wee Chua" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,
> Is it possible that I would get the wrong ID (Not the ID I just inserted
in
> Auto_Increment field) by using mysql_insert_id function if someone is also
> inserting record at the same time? H
Marc Swanson wrote:
> In my code I have a few places where I use mysql_pconnect to open a
> persistant database connection to mysql in order to reduce overhead. I
> also use mysql_insert_id to fetch insert ids for various insert commands.
>
> Since mysql_pconnect uses the SAME database connecti
I used this function with a BIGINT field once, and it worked. I guess
problemas appear when it goes beyond an INT filed, or, the number you are
retrieving has more than 11 digits.
--
Julio Nobrega.
A hora está chegando:
http://sourceforge.net/projects/toca
"John Meyer" <[EMAIL PROTECTED]>
> I have been reading about this function and I have a question. The PHP
> manual warns about using it if your AUTO_INCREMENT ID field is a BIGINT.
I
> am using type INTEGER. Am I okay with this one, or should I use the MySQL
> function.
Works just fine in everything I do.
Maatt
--
PHP Gene
6 matches
Mail list logo