Hi guys.
I am planning to fetch a file with fopen and modify it som before i load it into my mysql database.
This is what I want to do in exact order;
open the file
1. Remove first row in file
2. replace all ,. with ,0
3. replace all , with .
3. replace all ; with ,
4. add , in front of every row.
5. replace all - with 0
load the file into the database
This is the actual file: http://www.telepriser.no/download/pr...sikt_mobil.txt
Coul some friendly expert please advise?
Best regards amateur php coder.
|