$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
and of course apple
how do i do this ????
1 reply to this topic
Posted 16 May 2003 - 03:20 PM
Read more about LIKE in mysql
$query_getplayer = "SELECT X, Y, Name, Score, Resources FROM player WHERE Name LIKE \'%apple%\';
Knowledge --- Reading Enriches Mind But Sharing Enhances It.[br][br]Note: Before you request help enusre that you have had a look at the tutorials @phpfreaks
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users