Guest Posted July 10, 2008 Share Posted July 10, 2008 I am searching for a name that i know is the and it has a _ in it so when I run the sql it returns 0 results What is it doing how can I fix this? Link to comment https://forums.phpfreaks.com/topic/114022-_-in-query-not-working/ Share on other sites More sharing options...
trq Posted July 10, 2008 Share Posted July 10, 2008 What is it doing how can I fix this? Obviously we need to see your query to answer that. Link to comment https://forums.phpfreaks.com/topic/114022-_-in-query-not-working/#findComment-586021 Share on other sites More sharing options...
Guest Posted July 10, 2008 Share Posted July 10, 2008 Here is a basic version of whats happening. SELECT * FROM Users WHERE Name='santa_clause' Link to comment https://forums.phpfreaks.com/topic/114022-_-in-query-not-working/#findComment-586023 Share on other sites More sharing options...
trq Posted July 10, 2008 Share Posted July 10, 2008 Well, there is nothing syntactically wrong with that query. I suggest you post the relevant code, your really need to help us help you. Link to comment https://forums.phpfreaks.com/topic/114022-_-in-query-not-working/#findComment-586027 Share on other sites More sharing options...
Barand Posted July 10, 2008 Share Posted July 10, 2008 If the user name is "santa_claus" it won't find it of course. SELECT * FROM Users WHERE Name='santa_clause' Link to comment https://forums.phpfreaks.com/topic/114022-_-in-query-not-working/#findComment-587080 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.