Jump to content

Help with simple script


jayman2008

Recommended Posts

I have a .dat file that has:

-------------------------------

filename.html-file-data-data-data

filename.html-file-data-data-data

filename.html-file-data-data-data

--------------------------------

 

i want to seperate all of the seperate lines in the .dat file, and explode() the "-" out so i can print_r(); the value later.  I wan't to have one table set up with the data, and every line in the file will make a duplicate.

 

item(data)

item(data)

item(data)

Link to comment
https://forums.phpfreaks.com/topic/90582-help-with-simple-script/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.