Internal ID and MySQL auto increment ID
#2

The primary key's only purpose is to uniquely identify the row in the table, it should have no other meaning.

pawn Код:
FirmaInfo[i][IDBiz] = cache_get_field_content_int(i, "IDBiz");
You already have that. When referring to the biz in the script, use "i", when referring to the row in the database use "IDBiz".
Reply


Messages In This Thread
Internal ID and MySQL auto increment ID - by Sime30 - 22.01.2015, 19:45
Re: Internal ID and MySQL auto increment ID - by Vince - 22.01.2015, 20:30
Re: Internal ID and MySQL auto increment ID - by PowerPC603 - 22.01.2015, 20:59
Re: Internal ID and MySQL auto increment ID - by Luis- - 22.01.2015, 21:30
Re: Internal ID and MySQL auto increment ID - by Sime30 - 22.01.2015, 22:18

Forum Jump:


Users browsing this thread: 1 Guest(s)