Hi, I just started learning php (as in yesterday). So far it's been pretty easy, and my friend and I have been working on writing a counter. The counter works, it's fine and dandy, etc, etc, but now I'm...adding things. For example, I'd like to add a config page that will let you decide which font face, size, color, and whether it's visible or not. Right now I'm just focusing on getting that data into a file, and then back out of it (I'll worry about doing it with forms later). Anyways, first I tried writing everything in as a long string with \r between all of the variables, and then I was going to use a few for loops and alot of if then statements to dig out the information character by character and concatonate it...and...well...it's a mess. So now I figured - what they hey! lets try arrays. So far they're working beautifully...about...3 lines of code to the previous 15. but my problem now is in writing the array to a file, and then after that, reading it back into a script, etc, etc. I know it's a real simple problem, but if you could tell me what I need to know, it'd be great 🙂
Thanks