Raised This Month: $ Target: $400
 0% 

sdasdsa


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Kellan123
AlliedModders Donor
Join Date: Aug 2012
Old 01-14-2014 , 13:05   sdasdsa
Reply With Quote #1

Fixed.

Last edited by Kellan123; 02-12-2014 at 15:26.
Kellan123 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-14-2014 , 13:18   Re: SQL Syntax :P
Reply With Quote #2

KILL is a MySQL Command and cannot be used as the name of a column unless you put it in quotes.
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
^SmileY
Veteran Member
Join Date: Jan 2010
Location: Brazil [<o>]
Old 01-15-2014 , 07:31   Re: SQL Syntax :P
Reply With Quote #3

change to use with tags of all rows name in table, this will prevent some problems like this

like pm_kills, pm_steam, pm_player, pm_survive etcc
__________________
Projects:

- See my Git Hub: https://github.com/SmileYzn
PHP Code:
set_pcvar_num(pCvar, !get_pcvar_num(pCvar)); 
^SmileY is offline
Send a message via MSN to ^SmileY Send a message via Skype™ to ^SmileY
claudiuhks
Yam Inside®™℠
Join Date: Jan 2010
Location: Living Randomly
Old 01-15-2014 , 16:41   Re: SQL Syntax :P
Reply With Quote #4

Furthermore, if you use INT for numerical variables, for strings, use TEXT.
__________________
claudiuhks is offline
Send a message via MSN to claudiuhks Send a message via Yahoo to claudiuhks Send a message via Skype™ to claudiuhks
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:13.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode