MYSQL mysql_insert_id
#1

for some reason mysql insert id does not work but it carrys out the query and i have a colum in mysql table named id and an AUTO_INCREMENT on it

Код:
mysql_function_query(mysql, szDestination, false, "", "");
printf("account registered with ID %d", mysql_insert_id(mysql));
mysql_free_result(mysql);
Reply


Messages In This Thread
MYSQL mysql_insert_id - by cssbart - 24.08.2012, 13:26
AW: MYSQL mysql_insert_id - by Mellnik - 24.08.2012, 13:35
Re : MYSQL mysql_insert_id - by cssbart - 24.08.2012, 13:42
Re: MYSQL mysql_insert_id - by HuSs3n - 24.08.2012, 13:55

Forum Jump:


Users browsing this thread: 1 Guest(s)