View Single Post
PharaohsPaw
Senior Member
Join Date: Dec 2008
Old 02-21-2011 , 08:54   Re: [CS:S TF2 L4D + many more] AdsQL Server Advertisements System
Reply With Quote #7

Hi Nomarky,

The plugin and web interface *MAY* already work fine with spaces in the Server ID. I know the SQL LIKE queries protect the contents of the search string with ' characters for this purpose. Just not sure everything else that uses the server ID field is going to jive with it. I'll try to test it out sometime and see. If it doesn't work as-is it may take a while to code depending what is wrong.

Besides, if I allow spaces in the server ID string and it doesn't work as-is, it could get tricky to guess accurately why the user is putting spaces in the Server ID's field of the web interface. I really wouldn't want to have to code for each of those possibilities.

Does whatever else you're using server ID's with already use your adsmysql database?

PharaohsPaw

Last edited by PharaohsPaw; 02-22-2011 at 07:12.
PharaohsPaw is offline