Dynamic Read Text

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
peetcool9
Forum Newbie
Posts: 2
Joined: Mon Dec 01, 2003 6:12 pm
Location: Vancouver Island, Canada

Dynamic Read Text

Post 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
User avatar
DuFF
Forum Contributor
Posts: 495
Joined: Tue Jun 24, 2003 7:49 pm
Location: USA

Post 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.
Post Reply