I keep odd behaviour when trying to parse an ini file with PHP 4.3.9.
When I read out data, I only get the first letter of a string.
$data = parse_ini_file( 'data.ini', true);
foreach ($data as $cur) {
foreach ($cur as $this) {
echo $this['Name'];
}
}
What is wrong with this code?
When I read out data, I only get the first letter of a string.
$data = parse_ini_file( 'data.ini', true);
foreach ($data as $cur) {
foreach ($cur as $this) {
echo $this['Name'];
}
}
What is wrong with this code?
Comment