Can I make it shorter - MySQL
#1

Hello, I started working to transfer my mode on MySQL
Can I do this shorter ? (Originally from newbienoob's tutorial)
(Registration)
PHP код:
mysql_format(mysqlquerysizeof(query), "INSERT INTO `players` (`Username`, `Password`, `IP`, `Admin`, `VIP`, `Money`, `PosX` ,`PosY`, `PosZ`) VALUES ('%e', '%s', '%s', 0, 0, 0, 0.0, 0.0, 0.0)"Name[playerid], pInfo[playerid][Password], IP[playerid]); 
I have 345 columns in my .ini and it's too long to write
Can I do this shorter?
Same for loading a character
Reply


Messages In This Thread
Can I make it shorter - MySQL - by NeXoR - 24.04.2016, 00:58
Re: Can I make it shorter - MySQL - by Gammix - 24.04.2016, 01:29
Re: Can I make it shorter - MySQL - by NeXoR - 24.04.2016, 01:44
Re: Can I make it shorter - MySQL - by Gammix - 24.04.2016, 01:47
Re: Can I make it shorter - MySQL - by NeXoR - 24.04.2016, 02:01
Re: Can I make it shorter - MySQL - by NeXoR - 24.04.2016, 02:12
Re: Can I make it shorter - MySQL - by Gammix - 24.04.2016, 02:23
Re: Can I make it shorter - MySQL - by Lordzy - 24.04.2016, 03:42
Re: Can I make it shorter - MySQL - by Lordzy - 24.04.2016, 15:03
Re: Can I make it shorter - MySQL - by NeXoR - 24.04.2016, 15:34

Forum Jump:


Users browsing this thread: 1 Guest(s)