help me error mysql
#5

Quote:
Originally Posted by EgyptForLife
Посмотреть сообщение
The thing that you need to edit is this:
Код:
format(Query,sizeof(Query),"CREATE TABLE IF NOT EXISTS config(MaxPing INT(128), ReadPms INT(10), AntiAdv INT(10), ReadCmds INT(10), VIP INT(10), MR INT(10), SAM INT(10), FEX INT(10), GTA INT(10), PP INT(10), NFS INT(10), PL INT(10), AdminOnlySkins INT(10),\
  AdminSkin INT(10), AdminSkin2 INT(10), AntiSpam INT(10), NoCaps INT(10), Locked INT(10), SaveWeap INT(10), ConnectMessages INT(10),\
  AdminCMDMessages INT(10), AutoLogin INT(10), Notification INT(10), MaxMuteWarnings INT(10), MaxAdminLevel INT(10), AccountSecurity INT(10) )" );
try to write it like this:
PHP код:
strcat(Query"CREATE TABLE IF NOT EXISTS");
strcat(Query" config(MaxPing INT(128), ReadPms INT(10), AntiAdv INT(10), ");
strcat(Query" ReadCmds INT(10), VIP INT(10), MR INT(10), SAM INT(10), ");
strcat(Query" FEX INT(10), GTA INT(10), PP INT(10), NFS INT(10), PL INT(10), AdminOnlySkins INT(10), ");
strcat(Query"AdminSkin INT(10), AdminSkin2 INT(10), AntiSpam INT(10), ");
strcat(Query"NoCaps INT(10), Locked INT(10), SaveWeap INT(10), ConnectMessages INT(10), ");
strcat(Query"AdminCMDMessages INT(10), AutoLogin INT(10), Notification INT(10), ");
strcat(Query"MaxMuteWarnings INT(10), MaxAdminLevel INT(10), AccountSecurity INT(10) )");
mysql_tquery(mysqlQuery""""); 
Should work fine I guess, don't forget to +rep if I helped!
error does not create the table in my phpmyadmin
Reply


Messages In This Thread
help me error mysql - by nbx2000 - 04.06.2018, 20:48
Re: help me error mysql - by EgyptForLife - 04.06.2018, 21:35
Re: help me error mysql - by nbx2000 - 04.06.2018, 22:07
Re: help me error mysql - by EgyptForLife - 04.06.2018, 22:53
Re: help me error mysql - by nbx2000 - 04.06.2018, 23:06
Re: help me error mysql - by Verc - 05.06.2018, 01:09
Re: help me error mysql - by Sew_Sumi - 05.06.2018, 01:53
Re: help me error mysql - by EgyptForLife - 05.06.2018, 15:37

Forum Jump:


Users browsing this thread: 1 Guest(s)