09.09.2017, 15:34
Quote:
|
It is, but you do realize what SQL stands for?
Structured Query Language, I've never said I can SQL by 100%. It's a big difference by a language and scripting. The language describes how the structure should be, you do also realize that this differs so much by each language? And you do realize scripting is jsut writing the structure? Should I be able to know every single damn structure within the language because I've used it a few times? No. |
actually Mysql is more simpler than any other saving system (as SAVING system)
the base functions are
CREATE TABLE `` (colunm(type(size)), ..)
SELECT * FROM `` WHERE `` = ''
DELETE * FROM `` WHERE `` = ''
INSERT INTO `` () VALUES ()
UPDATE `` SET `` = '', ...
that so simple, you don't have even to think... (that's the functions needed on pawn ^^)
there some others functions such: ALTER, CREATE DATABASE... etc
in your case you don't need to use mysql_tquery, you can format it from the start, by using mysql_format (`%e` for espace) and use mysql_query directly
PHP код:
INSERT INTO player_stats SET (id, name, etc) VALUES (1, 'Meller', 'etc etc')
MySQL is so simple (for me!), there's many query tutorials in the MySQL v8 official website.
Have fun :P
EDIT: you should fetch the values after excuting the query! using cache_get_value_name!
check MySQL R40+ Tutorials, im sure you will understand well!

