Ben aşağıdaki kod ile sorun yaşıyorum. Ne yapmalıyım example.php takip yankı cats.php ama example.php yankılanan değil. Neden herhangi bir fikir oluyor olabilir?
$bookLocations = array(
'example.php',
'cats.php',
'dogs.php',
'fires.php',
'monkeys.php',
'birds.php',
);
echo $bookLocations[1];
function findfile($filenumber)
{
echo $bookLocations["$filenumber"];
}
findfile(0);