jayman2008 Posted February 11, 2008 Share Posted February 11, 2008 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) Quote Link to comment https://forums.phpfreaks.com/topic/90582-help-with-simple-script/ Share on other sites More sharing options...
kenrbnsn Posted February 12, 2008 Share Posted February 12, 2008 Have you written anything yet? The purpose of this forum is to help you with scripts you have written and are having problems with. Not to write scripts for you. Ken Quote Link to comment https://forums.phpfreaks.com/topic/90582-help-with-simple-script/#findComment-464444 Share on other sites More sharing options...
resago Posted February 12, 2008 Share Posted February 12, 2008 need a mod that checks to see if the code tag has been used in the first post, if not, reject post. what do ya think? Quote Link to comment https://forums.phpfreaks.com/topic/90582-help-with-simple-script/#findComment-464450 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.