MySQL_GetFloat, is this correct?
#4

Quote:
Originally Posted by ******
Посмотреть сообщение
No:

1) No input sanitation.
2) Incorrectly using thread callbacks (i.e. not).
3) Basically wasting the whole point of using a database by making it a glorified INI file.
4) Implementing said glorified INI system badly by performing each query indepedently (a la dini - the INI system universally accepted as terrible for exactly this reason).
5) I've said before and it applies here too. The MySQL plugins and the inbuilt SQLite system are not for learning SQL, they are for use by people who already know SQL and want to use that knowledge in SA:MP. If you don't know it, you actually probably better off sticking to INI.
I was taught this way of doing it. I don't know any other way and since my entire script is MySQL I have to stick to it. I've used functions similar to this throughout my script and I have had no issues, I don't see why I should change.
Reply


Messages In This Thread
MySQL_GetFloat, is this correct? - by Dokins - 12.08.2013, 20:54
Re: MySQL_GetFloat, is this correct? - by AndreT - 12.08.2013, 21:02
Re: MySQL_GetFloat, is this correct? - by Dokins - 12.08.2013, 21:13
Re: MySQL_GetFloat, is this correct? - by Dokins - 12.08.2013, 21:23
Re: MySQL_GetFloat, is this correct? - by Kreatyve - 12.08.2013, 21:34
Re: MySQL_GetFloat, is this correct? - by Dokins - 12.08.2013, 21:39
Re: MySQL_GetFloat, is this correct? - by AndreT - 12.08.2013, 21:41
Re: MySQL_GetFloat, is this correct? - by Dokins - 12.08.2013, 21:57

Forum Jump:


Users browsing this thread: 2 Guest(s)