First of all I’m not sure if this is the right place to post, so I’m sorry if it’s wrong.
Now I am in a situation were I need to extract text from a ini files and put certain thins of the text into a mysql database.
so far i’ve managed to put the text into a string, but that’s it
I have to put certain things of he text into an array and that is my problem.
Here is the text structure:
[r0xx0rnation]
leader=ddd
rank=0
members=2
list=ddd,mick,
m_ddd=lord,level3
m_mick=d00d,level1
Now whhat i would like to extract in different arrays is
guildname
leader
members
characters of the members and their levels
list shows the members
and the m_ shows the character names.
I got it all into a string, i just find it difficult to seperate them.
Any ideas?
Thanks in advance!