There are two tables: cheats, users. In the cheats table there is a procname column, in this column there is data. You need to make a search for matches in the users table, in the proclist column. In the proclist column, data is stored in one stream, so you need to use like. Wrote such code, but displays the error Array to string conversion in line 39
$qr_result2 = mysql_query("select procname from cheats ") or die(mysql_error()); while($cheat = mysql_fetch_array($qr_result2)){ $qr_result = mysql_query("select * from users WHERE proclist like '%".$cheat."%'") or die(mysql_error()); while($data = mysql_fetch_array($qr_result)){ echo '<center>'. $data['ip'] . '</center>'; } } mysql_close($connect_to_db); 39 line there
$qr_result = mysql_query("select * from users WHERE proclist like '%".$cheat ."%'")