I have tried reading parameters from php ini files using parse_ini_file
Here is my code
$param_array=parse_ini_file("test.ini");
print $param_array[0];
print $param_array[1];
Above code returns nothing
test.ini file contains,
[names]
me = Robert
you = Peter
[urls]
first = "http://www.example.com"
second = "http://www.w3schools.com"
Now i need to call the Robert & Peter
$param_array["me"]instead of$param_array[0]. I can only second @popnoodles, use PHP's Manual instead, it's reliable and there is plenty of examples too.if (!$param_array=parse_ini_file("test.ini")) echo 'nope';andprint_r($param_array);and show us what you get