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 ???? 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%\'; Link to comment https://forums.phpfreaks.com/topic/470-where-problems/#findComment-1600 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.