I have some .ini file to read by PHP. Then, the styles of file contents are as follows; I want some arrays with each sessions(title1, title2, title3) like this; I think how to divide sessions and items in each session is important. How can I pass this file? Answer You should try to use the parse_ini_file function of PHP (https://www.php.net/manual/en/function.parse-ini-file.php),
Tag: file-read
PHP/Laravel – find and read ‘key-value pair’ from file
I want to store some text informations but I don’t want to use database for this. For example there is a file: key1: some text information 1 key2: some text information 2 key3: another text …