03.02.2014, 20:04
Please stop using the terribly outdated dini and move on to more advanced saving systems, like Y_INI or SQLite. As it so happens, SQL seems to be a good fit for the scenario you're describing. Insert, delete and search at will without any additional overhead of extensive loops.