29.10.2009, 11:24
To new users, (even to me when i was new) scripting mysql looks hard, one of the reason are the functions' name. In this include i re-named the Functions and added a few checks, like samp_mysql_get_field has to be used after samp_mysql_fetch_row.
It will slow down (just a little) the script processing speed, but you can use until you learn mysql.
The new functions' names are:
Check https://sampwiki.blast.hk/wiki/mysql for more Details on the functions.
Download Link
PS: I kno' it's a small thing, but it helps the newbies.
Note: i haven't use it, cause i don't need it (atm), so if you encounter any problem, let me kno'
It will slow down (just a little) the script processing speed, but you can use until you learn mysql.
The new functions' names are:
Quote:
native MySqlConnect(server[], user[], password[]); native MySqlSelectDB(db[]); native MySqlQuery(query[]); native MySqlStoreResult(); native MySqlFetchRow(line[]); native MySqlNumerOfRows(); native MySqlNumberOfFields(); native MySqlCloseConnection(); native MySqlGetPing(); |
Download Link
PS: I kno' it's a small thing, but it helps the newbies.
Note: i haven't use it, cause i don't need it (atm), so if you encounter any problem, let me kno'