Tisten Posted May 16, 2003 Share Posted May 16, 2003 $query_getplayer = \"SELECT X, Y, Name, Score, Resources FROM player WHERE Name= ; i tried almost everything what i want is a var $findplayer to be placed there automaticly and the sign before and after don\'t matter. example : $findplayer = \"Appel\"; it has to select everything with \"apple\" in it like jdksfhapplenjfkds fdappledf and of course apple how do i do this ???? Quote Link to comment https://forums.phpfreaks.com/topic/470-where-problems/ Share on other sites More sharing options...
shivabharat Posted May 16, 2003 Share Posted May 16, 2003 Read more about LIKE in mysql $query_getplayer = "SELECT X, Y, Name, Score, Resources FROM player WHERE Name LIKE \'%apple%\'; Quote Link to comment https://forums.phpfreaks.com/topic/470-where-problems/#findComment-1600 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.