Topic awaiting preservation: Php and textfiles |
|
---|---|
Author | Thread |
Maniac (V) Inmate From: Eagleshieldsbay, Sweden |
posted 04-04-2002 13:50
How do you use an textfile to save info with an ; for example between the post. |
Paranoid (IV) Inmate From: Minneapolis, MN, USA |
posted 04-04-2002 14:22
Not sure exactly what you're asking, but here's the PHP commands you will need, other than these you just need to construct the appropriate strings to put in the file: |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 04-04-2002 14:41
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Inmate From: Eagleshieldsbay, Sweden |
posted 04-04-2002 15:18
Ehh...I'm asking for a replacement for a ordinary database. For example this is how it would look in the textfile: |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 04-04-2002 15:21
The poster has demanded we remove all his contributions, less he takes legal action. |
Obsessive-Compulsive (I) Inmate From: An igloo up north |
posted 04-04-2002 15:58
Wouldn't explode() work in his situation as well? |
Paranoid (IV) Inmate From: 127.0.0.1 |
posted 04-04-2002 16:02
explode() will work fine for that. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 04-04-2002 17:13
Here's a real quick list I wrote once. It's really bad and I can think of about 10 ways to change it but all the basics are there. |
Paranoid (IV) Inmate From: New Jersey, USA |
posted 04-04-2002 17:40
You could also use fgetcsv. It has worked very nicely for me in the past. |
Maniac (V) Mad Scientist From: 100101010011 <-- right about here |
posted 04-04-2002 17:58
Jeez I love PHP! |