SA-MP Forums Archive
/changelog using MySQL? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: /changelog using MySQL? (/showthread.php?tid=318770)



/changelog using MySQL? - BleverCastard - 16.02.2012

Is there anyway you can use /changelog and it updates in MySQL? As in /changelog "text" and it updates to a table in MySQL called "changelogs" Sorry, Im new to MySQL stuff and don't know how.


Re: /changelog using MySQL? - BleverCastard - 16.02.2012

Anyone?


Re: /changelog using MySQL? - Nonameman - 16.02.2012

The creation depends on what mysql plugin do you use.
If I'm right, you want an update query, like:

pawn Код:
mysql_query("UPDATE table SET column_1 = 'variable' WHERE column_2 = 'variable2'");



Re: /changelog using MySQL? - System64 - 16.02.2012

Nonameman: You need a format before that -.-

You give me idea for my next filterscript

Just wait for it, maybe I will release it tomorrow


Re: /changelog using MySQL? - dice7 - 16.02.2012

Why would he need to format that text before calling the function ?


Re: /changelog using MySQL? - Nonameman - 16.02.2012

Quote:
Originally Posted by System64
Посмотреть сообщение
Nonameman: You need a format before that -.-
Even if this is an example how should he do it? 'column_1', 'variable' ...