SA-MP Forums Archive
MySQL question - 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: MySQL question (/showthread.php?tid=350209)



MySQL question - RealityProject - 11.06.2012

Hello as you can see I have problem with creating database, I have Gamemode with MySQL but I lost it and I need create new one. But my question is what I need to type in table for example in this case?

Код:
format(upit, 128, "SELECT * FROM `Igraci` WHERE `Ime` = '%s' AND `Lozinka` = '%s'", imex, buf);
mysql_query(upit, THREAD_PASSPROVERA, playerid);
Thank you all!


Re: MySQL question - JaTochNietDan - 12.06.2012

The table name is Igraci and it has two columns named Ime and Lozinka which seem to contain strings, otherwise known as VARCHAR in SQL syntax.


Re: MySQL question - RealityProject - 12.06.2012

Oh thank you very much, you can LOCK this Thread!