hi guys,
I’m making a photogallery with discription and i want to be able to edit my discription online. I’ve got a .txt file with content like this:
&filename.jpg=this is the discription of the pic
&anotherfile.jpg=this is another discription
let’s say this .txt file has the name text.txt. In php i include this file (include(“this.txt”) then the content of my file is shown. I want to split this content like an array… something like this $array = array(“filename.jpg” => “this is the discription of the pic”, “anotherfile.jpg” => “this is another discription”);
so without the &character…
the problem is i don’t know how to split all this, so i need some help with that please…