Page 1 of 1

Dynamic Read Text

Posted: Sun Dec 07, 2003 8:15 pm
by peetcool9
Hello, i am trying to dynamicly load some info about pictures in little table below. i would like it to open one txt file containing all the pics info, find what belongs to it by maby title infront of text, then populate the cell with the information. i think i would use fread() but i dont understand how i would parse the text for just what needs. i dont want to have individual text files for each as there are many windows and it is just a short ddescription. Hope you inderstand. Patrick

Posted: Sun Dec 07, 2003 9:26 pm
by DuFF
This tutorial talks about working with text files:
http://www.spoono.com/php/tutorials/tutorial.php?id=32

You could have an ID or title of the picture on each line then next to it, seperated by || or any other symbol, and then have the info you wanted right next to it. If you have any problems with this please post again.