I have a .txt file that is showing two variable as follows:
Variable 1
Just a space seperates them
Is there a way to make each line a variable I can use.
have a look at the file() function. it returns the contents of a file as an array with 1 line = 1 element.