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 value
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 someone might
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? How does
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 General
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]
5 matches
Mail list logo