December 5, 201114 yr I guess the real question is how do I read a test file and save the info in a variable. I can get the info saved in a database if I have it stored in a variable.
December 5, 201114 yr What kind of text file? XML? CSV? You can read it in easily enough using file_get_contents but it depends on the format on how you'll parse it.
December 5, 201114 yr Author It'll just be a file.txt and each line assigned to a different variable.
December 6, 201114 yr Can u drop here an example of this text.file? Edited December 6, 201114 yr by Lev
Create an account or sign in to comment