First of all - thanks you! Creating Tops or Ranks, etc. with nvault and arrays - slowly work, and I can't use SQL because I don't know how (I know, know, but a bit), but now - easy to do and moreover - it is SQL
But I have one question, this code:
PHP Code:
sqlv_read_ex( g_hVault, 0, szKey1, charsmax(szKey1), "level", 6, szData, charsmax(szData), iTimeStamp, "", "`data` DESC");
Is the same like this:
PHP Code:
sqlv_read_ex( g_hVault, 0, szKey1, charsmax(szKey1), "", 0, szData, charsmax(szData), iTimeStamp, "`key2` = 'level'", "`data` DESC");
I don't know, because u saved blank szKey2 in second code and you wrote key2 in szWhere. I checked it on my server for test, result is the same, but Is there a difference?
Sorry for my bad english, i am just from country, where english isn't on good level (POLAND).
@EDIT: Sorry, now I checked .inc and I analyzed it thoroughly, first code is wrong