get content of folder..
Posted: Tue Mar 04, 2008 3:21 am
hi all 
I have 3 textfiles (1.text, 2.text. 3.text), in a folder called news, and i want to show the contents of these files, like "teasers" in a div with a "read more"-link.. and when clicked it shall show the chosen file's content in a other div on the same site..
I have the HTMl and the CSS done, but i need help with the PHP-code
How shall i code the PHP to make this happen?
it would be sweet if someone of you could code this for me or give me some hints
Best regards
I have 3 textfiles (1.text, 2.text. 3.text), in a folder called news, and i want to show the contents of these files, like "teasers" in a div with a "read more"-link.. and when clicked it shall show the chosen file's content in a other div on the same site..
I have the HTMl and the CSS done, but i need help with the PHP-code
How shall i code the PHP to make this happen?
it would be sweet if someone of you could code this for me or give me some hints
Best regards