I have these mysql tables:
(players):

(environment_killers):

(killers):

(player_deaths):

And a PHP page that prints this result:
$timenow = time();
$dayago = $timenow - (86400 * 1);
$monstrums= $SQL->query('SELECT * FROM z_monsters GROUP by name;');
$killers_monsters = mysql_query('
SELECT COUNT(name) as liczba
FROM environment_killers,player_deaths,killers
where player_deaths.id = killers.death_id
and killers.id = environment_killers.kill_id
and name LIKE "%'.$monstrums[name].'"
and date > '.$dayago.';');
I need this PHP page to print the $killers_monsters result where player_deaths.player_id = players.id and players.world_id = '.$world_id.'