onedumbcoder Posted May 29, 2008 Share Posted May 29, 2008 i dont know why this query will not work does anyone see anything wrong? $query = "SELECT * FROM collection WHERE SUBSTRING(word,-4,1) = SUBSTRING('" . $word . "', -4,1) "; SELECT * FROM collection WHERE SUBSTRING(word, -4,1) = SUBSTRING('Hello', -4,1) Link to comment https://forums.phpfreaks.com/topic/107734-query-trouble/ Share on other sites More sharing options...
.josh Posted May 29, 2008 Share Posted May 29, 2008 Please do not make multiple threads asking the same thing. Link to comment https://forums.phpfreaks.com/topic/107734-query-trouble/#findComment-552504 Share on other sites More sharing options...
Recommended Posts