02.07.2012, 11:00
(
Последний раз редактировалось IstuntmanI; 02.07.2012 в 16:56.
)
Hey.
Now I started to learn MySQL, and I don't know how to "CREATE TABLE IF NOT EXISTS" in R7, mysql_query is different now, how I can ?
EDIT: I've found, lol: https://sampforum.blast.hk/showthread.php?tid=337810
The part with
EDIT2: I have
but it gives a error:
how I can fix it ? What's wrong with my code ?
EDIT: Fixed...
Now I started to learn MySQL, and I don't know how to "CREATE TABLE IF NOT EXISTS" in R7, mysql_query is different now, how I can ?
EDIT: I've found, lol: https://sampforum.blast.hk/showthread.php?tid=337810
The part with
Quote:
mysql_function_query(dbHandle, "UPDATE players SET kills = 10 WHERE id = 1", false, "", ""); |
Quote:
mysql_function_query( 1, "INSERT INTO `Houses` (`House ID`,`House Name`,`House Owner`,`House Price`) VALUES(1,`stuntman`,`[SG]stuntman`,300000)", false, "", "" ); |
Код:
'Error 1054: Unknown column `stuntman` in `field list`
EDIT: Fixed...