Greeting,
I got a pretty simple question here with probably a few line of code solution. Here is what I am doing in case there is an even better way...
I am making a CGI application with MySQL database. I have a page that needs to populate about 300+ HTML text boxes (Value="").
It would be nice if the data was easily searchable with such functions a database provides, but i think 300+ databse colums is a little too much overhead, so I will settle with the lessor:
I have a text document that looks like this:
100:VALUE:VALUE:
101:VALUE:VALUE:
102:VALUE:VALUE:
etc... etc...
I want to chunk the entire text document into an array that is split at, you guess it ":".
I did do a few searches but I did not find a useable solution, but I am sure there is one as this seems like a pretty common function...
Thanks in advanced!
I got a pretty simple question here with probably a few line of code solution. Here is what I am doing in case there is an even better way...
I am making a CGI application with MySQL database. I have a page that needs to populate about 300+ HTML text boxes (Value="").
It would be nice if the data was easily searchable with such functions a database provides, but i think 300+ databse colums is a little too much overhead, so I will settle with the lessor:
I have a text document that looks like this:
100:VALUE:VALUE:
101:VALUE:VALUE:
102:VALUE:VALUE:
etc... etc...
I want to chunk the entire text document into an array that is split at, you guess it ":".
I did do a few searches but I did not find a useable solution, but I am sure there is one as this seems like a pretty common function...
Thanks in advanced!