Gameline146
04-22-2004, 11:51 AM
I have a file that has list that look like this format on down the line for however many I have and this will change every week at least:
April 22, 2004 Blurb
link to blurb
April 22, 2004 Blurb2
link to blurb2
REALLY I would much rather have the text file have this form and be able to make the php parse it correctly:
April 22, 2004 Blurb link to blurb
April 22, 2004 Blurb2 link to blurb2
I want some php to open the text file and print html into a table like this for all the entries in the text file:
<tr align="center"><td><a href="link to blurb">April 22, 2004 blurb</a></td></tr>
I have use php for forms and connecting to databases but file I/O is alluding me. Thanks for the help!
April 22, 2004 Blurb
link to blurb
April 22, 2004 Blurb2
link to blurb2
REALLY I would much rather have the text file have this form and be able to make the php parse it correctly:
April 22, 2004 Blurb link to blurb
April 22, 2004 Blurb2 link to blurb2
I want some php to open the text file and print html into a table like this for all the entries in the text file:
<tr align="center"><td><a href="link to blurb">April 22, 2004 blurb</a></td></tr>
I have use php for forms and connecting to databases but file I/O is alluding me. Thanks for the help!