hi
i have a form which inserts records into my table using php
and to get the inserted id(auto_increme nted ID) can i use this command?
if multiple users are using the same page and multiple datas are inserted at a single time ., will it return the unique Auto_increment ID for the particular record or will it return the last inserted id...
thanks
i have a form which inserts records into my table using php
and to get the inserted id(auto_increme nted ID) can i use this command?
Code:
<?
mysql_query(“insert into table(name,value) values('$name','value')”);
echo "Auto increment ID is = ".mysql_insert_id();
?>
if multiple users are using the same page and multiple datas are inserted at a single time ., will it return the unique Auto_increment ID for the particular record or will it return the last inserted id...
thanks
Comment