mysql R41-4 help
#1

if i use this it working
PHP код:
new SoDL[300];
mysql_format(VungDuLieuSoDLsizeof(SoDL), "UPDATE `TaiKhoan` SET \
    `TenTK`='%s', \
    `CapDo`=%d, \
    `CapAdmin`=%d, \
    `NhanVat`=%d, \
    `TiLeChet`=%d, \
    `TiLeGiet`=%d, \
    `Tien`=%d, \
        WHERE `ID`=%d"
,
    
TaiKhoan[playerid][TenTK],
    
TaiKhoan[playerid][CapDo],
    
TaiKhoan[playerid][CapAdmin],
    
TaiKhoan[playerid][NhanVat],
    
TaiKhoan[playerid][TiLeChet],
    
TaiKhoan[playerid][TiLeGiet],
    
TaiKhoan[playerid][Tien],
TaiKhoan[playerid][IDDuLieu]);
mysql_tquery(VungDuLieuSoDL"LuuTaiKhoan","d"playerid); 
but im use like that it not working save data what wrong with my script ?
PHP код:
mysql_format(VungDuLieuSoDLsizeof(SoDL), "UPDATE `TaiKhoan` SET \
    `TenTK`='%s', \
    `CapDo`=%d, \
    `CapAdmin`=%d, \
    `NhanVat`=%d, \
    `TiLeChet`=%d, \
    `TiLeGiet`=%d, \
    `Tien`=%d, \
    `Unit`=%d, \
    `Mau`=%f, \
    `Giap`=%f, \
    `KGTK`=%d, \
    `VTKG`=%d, \
    `ViTriNCX`=%f, \
    `ViTriNCY`=%f, \
    `ViTriNCZ`=%f, \
    `ChipKN`=%d, \
    `ViTriNCC`=%f, \
    WHERE `ID`=%d"
,
    
TaiKhoan[playerid][TenTK],
    
TaiKhoan[playerid][CapDo],
    
TaiKhoan[playerid][CapAdmin],
    
TaiKhoan[playerid][NhanVat],
    
TaiKhoan[playerid][TiLeChet],
    
TaiKhoan[playerid][TiLeGiet],
    
TaiKhoan[playerid][Tien],
    
TaiKhoan[playerid][Unit],
    
TaiKhoan[playerid][MauNC],
    
TaiKhoan[playerid][GiapNC],
    
TaiKhoan[playerid][VTKG],
    
TaiKhoan[playerid][KGTK],
    
TaiKhoan[playerid][ViTriNCX],
    
TaiKhoan[playerid][ViTriNCY],
    
TaiKhoan[playerid][ViTriNCZ],
    
TaiKhoan[playerid][ChipKN],
    
TaiKhoan[playerid][ViTriNCC],
    
TaiKhoan[playerid][IDDuLieu]);
    
mysql_tquery(VungDuLieuSoDL"LuuTaiKhoan","d"playerid); 
Reply


Messages In This Thread
mysql R41-4 help - by cuchipkg - 19.01.2018, 03:36
Re: mysql R41-4 help - by Jokers98s - 19.01.2018, 03:52
Re: mysql R41-4 help - by cuchipkg - 19.01.2018, 03:55
Re: mysql R41-4 help - by Jokers98s - 19.01.2018, 04:00
Re: mysql R41-4 help - by cuchipkg - 19.01.2018, 04:07
Re: mysql R41-4 help - by Jokers98s - 19.01.2018, 04:10
Re: mysql R41-4 help - by cuchipkg - 19.01.2018, 04:12

Forum Jump:


Users browsing this thread: 1 Guest(s)