reading lines from text file and storing in php variable

Hi,
I have the following in a text file:
Line1,
Line 2,
Line 3,

I have to display all lines in <h1> Line text </h1> format.
If I can get the lines in a variable "1 by one", I can do it but I am not able to get lines in a variable "1 by one" and then echo them.

How do I read lines from this text file 1 by one and then store the line in a variable for further action?

Thank you
jeet

from PHP http://ift.tt/1t23eWq
via IFTTT
Previous
Next Post »
Thanks for your comment