elfpickle
08-30-2006, 02:44 PM
Hi there, i am new to php and havent spent 2 long learning it. I know how to read and write files using perl/cgi but arent accustomed to the language of php. I was wondering if anyone had a easy way to open a file, search for values and either update them or print them to screen?
ie i want to make a .txt file with a list of pictures . and comments and descriptions located adjacent. ie
photo 1 - comment='How stupid do i look', description='on holidays'\n
photo 2 - comment='blah' ... etc etc
photo 3
so when i enter a new description or comment it will find the corresponding picture and update the fields....
and ideas. Just a push in the right direction would be stella.
ie i want to make a .txt file with a list of pictures . and comments and descriptions located adjacent. ie
photo 1 - comment='How stupid do i look', description='on holidays'\n
photo 2 - comment='blah' ... etc etc
photo 3
so when i enter a new description or comment it will find the corresponding picture and update the fields....
and ideas. Just a push in the right direction would be stella.