Jan 4, 2008 #1 tcardoso Programmer Jan 31, 2005 56 PT Hi, this query: Code: SELECT * FROM `table` WHERE `field` like '%Some Name%' give me empty result and this one Code: SELECT * FROM `table` WHERE `field` like '%Some%Name%' gives me the "Some Name" Guy Why does spaces aren't working? Thanks
Hi, this query: Code: SELECT * FROM `table` WHERE `field` like '%Some Name%' give me empty result and this one Code: SELECT * FROM `table` WHERE `field` like '%Some%Name%' gives me the "Some Name" Guy Why does spaces aren't working? Thanks
Jan 4, 2008 #2 towerbase Programmer Jul 31, 2002 1,053 GB I suspect that you either have two or more spaces in your SQL query between Some and Name or your data has two or spaces between Some and Name. It is possible that another type of white space character is there but I suggest this less probable. Andrew Hampshire, UK Upvote 0 Downvote
I suspect that you either have two or more spaces in your SQL query between Some and Name or your data has two or spaces between Some and Name. It is possible that another type of white space character is there but I suggest this less probable. Andrew Hampshire, UK
Jan 4, 2008 Thread starter #3 tcardoso Programmer Jan 31, 2005 56 PT lol.... sorry for that, my "newbiece". damm user, put two spaces under is name and wasn't appearing on search for others Thanks mate Upvote 0 Downvote
lol.... sorry for that, my "newbiece". damm user, put two spaces under is name and wasn't appearing on search for others Thanks mate