mysql problem
#3

pawn Код:
format( Query, sizeof Query, "INSERT INTO `bans` (`time`, `name`, `ip`, `reason`, `admin`, `banned`) VALUES ('%s', '%s', '%s', 'Wrong password', 'Server', '1')", mystring, escpname( playerid ), PIP );
mysql_query( Query );
mysql_free_result( );
Try this, added the " ' " to the 1. If you put the quote-marks then put them to all data.
Reply


Messages In This Thread
mysql problem - by fordawinzz - 15.09.2011, 18:42
Re: mysql problem - by [MWR]Blood - 15.09.2011, 18:45
Re: mysql problem - by scottyishere - 15.09.2011, 18:52
Re: mysql problem - by fordawinzz - 15.09.2011, 18:56
Re: mysql problem - by Mr4rtur - 15.09.2011, 19:30
Re: mysql problem - by fordawinzz - 15.09.2011, 20:01
Re: mysql problem - by Mean - 15.09.2011, 20:20

Forum Jump:


Users browsing this thread: 2 Guest(s)