Mysql saving
#6

1. For all string output values to mySQL I would recommend using %e, instead of %s when formatting strings. This will increase security and avoid SQL injections.
2. Enable SQL debugging: mysql_debug(); under OnGameModeinit. Then, open mysql_log.txt in your server root and paste the result. Perhaps you have an invalid field type in your table?

Is it saving at all?
Reply


Messages In This Thread
Mysql saving - by iBots - 15.04.2015, 23:36
Re: Mysql saving - by iBots - 16.04.2015, 05:03
Re: Mysql saving - by iBots - 16.04.2015, 08:40
Re: Mysql saving - by Darrenr - 16.04.2015, 08:43
Re: Mysql saving - by MEW273 - 16.04.2015, 08:55
Re: Mysql saving - by iiNzTicTx - 16.04.2015, 08:59

Forum Jump:


Users browsing this thread: 4 Guest(s)