03.01.2013, 10:05
I don't know if you mean this but, to search something in the table that looks like it you should use the LIKE option.
Here's a sample: SELECT * FROM `$db_table` WHERE `name` LIKE '%$filter%'
where $db_table is the table (playerinfo) and $filter is the word or a part you are searching for.
Here's a sample: SELECT * FROM `$db_table` WHERE `name` LIKE '%$filter%'
where $db_table is the table (playerinfo) and $filter is the word or a part you are searching for.