MySQL Insert ID Error
#2

which version of mysql plugin are you using
if you use R7 you need to do this

pawn Код:
mysql_function_query(1,"INSERT INTO ........................",true,"GetLastInsertID","");


forward GetLastInsertID();
public GetLastInsertID()
{
      printf("%d",mysql_insert_id(1));
      return 1;
}
Reply


Messages In This Thread
[Solved] MySQL Insert ID Error - by CoaPsyFactor - 07.06.2012, 18:31
Re: MySQL Insert ID Error - by HuSs3n - 07.06.2012, 22:56
Re: MySQL Insert ID Error - by CoaPsyFactor - 07.06.2012, 23:13

Forum Jump:


Users browsing this thread: 1 Guest(s)