View Single Post
Old May 21st, 2006, 1:18 PM   #5
Booooze
Expert Programmer
 
Booooze's Avatar
 
Join Date: Mar 2006
Location: Igloo
Posts: 710
Rep Power: 3 Booooze is on a distinguished road
Send a message via MSN to Booooze
Well you should know how to open a text file. So simply store all the data in an array. Then loop through the array for what you are looking for.

Ooble is right. You should do it with a db. You are learning more, and it's time you stepped up in data storage :p Take the time to learn MySQL. It's worth it. There are TONS of tutorials, documents websites etc out there that can you read.

The problem with you little system right now, is trying to store multiple pieces of info. When data storage gets this complicated, it's time to move to the type that can handle it. I bet you're going to have a pile of txt files, and it's going to get messy. All you need is one db, and a little knowldge about SQL. Much Much easier.
Booooze is offline   Reply With Quote