SQLite ID problem
#5

Код HTML:
db_query(Database, "CREATE TABLE IF NOT EXISTS `Reports` (`ID`, `Reporter`, `Target`, `Reason`, `Timestamp`)");
Код HTML:
format(Query, sizeof(Query), "INSERT INTO `Reports` (`ID`, `Reporter`, `Target`, `Reason`, `Timestamp`) VALUES('%i', '%s','%s','%s','%s')", db_get_field_int(Result), DB_Escape(GetName(playerid)), DB_Escape(GetName(target)), DB_Escape(reason), DB_Escape(timestamp));
Reply


Messages In This Thread
SQLite ID problem - by ShadowCoder - 01.12.2018, 00:39
Re: SQLite ID problem - by Jefff - 01.12.2018, 00:53
Re: SQLite ID problem - by ShadowCoder - 01.12.2018, 00:53
Re: SQLite ID problem - by Jefff - 01.12.2018, 00:55
Re: SQLite ID problem - by ShadowCoder - 01.12.2018, 00:55
Re: SQLite ID problem - by Jefff - 01.12.2018, 00:57

Forum Jump:


Users browsing this thread: 1 Guest(s)