Vehicle Loading [MySQL]
#7

Quote:
Originally Posted by mamorunl
Посмотреть сообщение
Код:
mysql_query("SELECT * FROM `playervehicles` WHERE `pvOwnerName` = '%d'", playerVariables[playerid][pInternalID]);
Weirdest stuff I have ever seen in a mysql query. The column is called OwnerName, yet an ID is requested by the script and then put inside a string!
What are you talking about "put inside a string", putting ' ' around integers is valid in MySQL.
Reply


Messages In This Thread
Vehicle Loading [MySQL] - by Boooth - 14.09.2012, 01:21
Re: Vehicle Loading [MySQL] - by Boooth - 14.09.2012, 02:56
Re: Vehicle Loading [MySQL] - by doreto - 14.09.2012, 06:53
Re: Vehicle Loading [MySQL] - by mamorunl - 14.09.2012, 09:10
Re: Vehicle Loading [MySQL] - by Boooth - 14.09.2012, 11:53
Re: Vehicle Loading [MySQL] - by Boooth - 14.09.2012, 11:58
Re: Vehicle Loading [MySQL] - by SuperViper - 14.09.2012, 14:25
Re: Vehicle Loading [MySQL] - by mamorunl - 14.09.2012, 15:39
Re: Vehicle Loading [MySQL] - by Smally - 15.09.2012, 17:38
Re: Vehicle Loading [MySQL] - by Smally - 16.09.2012, 14:15

Forum Jump:


Users browsing this thread: 1 Guest(s)