MySQL syntax is very simple to use and there are a number of good tutorials out there for it.
SELECT deadorcs FROM orckills WHERE player='Baaleos';
Is a simple fetch statement in MySQL that selects the value deadorcs(could be a variable or string) from a table called orckills where the player is Baaleos. You do not have to use custom fetch statments there are a few functions included in the aps_inlcude script for mannipulating data, but direclty getting/setting/creating data with fetches is much more powerfull.
The NWScript code when dealing with the ODBC plugin is slighly more complex that the fetch I just gave, but it is not too complex.
Modifié par KenquinnTheInsaneOne, 25 novembre 2010 - 07:53 .