I wrote a program to skim log files and pass the information into an ini file and I'm trying to do some php work with it, I have 0 experience with php.
I have an INI file that contains information like so,
[76561197962467705]
Username = ".buckisM"
Suicide = 0
bear.prefab = 0
killed by fall = 0
patrolhelicopter.prefab = 0
wolf.prefab = 0
Cold = 0
Explosion = 0
barricade = 0
Player Deaths = 0
Total Deaths = 0
Kills = 2
I use the php ini parser and can get the ini to print to a webpage.
$ini_array = parse_ini_file("myfile.ini", true);
print_r($ini_array);
The printed array. http://liveviewtest.byethost7.com/index.php
From what I have read parse_ini_file parses the information into a multidimensional array if the true flag is set. Why cant I access the array elements using brackets?
echo $ini_array[0][0];