Jump to content

Get ini section names


Timmo

Recommended Posts

Hi php freaks :)

 

I've been learning php, but what confuses me are the arrays.

I have ini file, i want to get the data from file and add it to the database. Every section makes a new table and all they keys are added with their values. I figured out how to get the keys and how to see the values, but how can i get the name of the sections. Furthermore, how do i know what keys belong to what section.

 

I am really grateful for person who helps me to realize how to be a good friend with those complicated arrays.

Link to comment
https://forums.phpfreaks.com/topic/234471-get-ini-section-names/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.