My configuration file looks like this:
title = myTitle;
otherTitle = myOtherTitle;
when I read the file with file (), it creates this array
[0] => title = myTitle;
[1] => otherTitle = myOtherTitle;
and what I want the array to look like this:
[title] => myTitle;
[otherTitle] => myOtherTitle;
Am I using the wrong approach to her? Should I just read the entire configuration in the bite and blow it from there?
source
share