In my project a file contains content like
&lbl1=Mount Olympus - 24" long x 48" wide - Oil on canvas&prc1=725&sold1=&
&lbl2=Edgartown Marsh 1 - oil on canvas (matted unframed) size: 5 ½" x 5 ½"&prc2=425&sold2=SOLD&
and so and so..
I need to display
Mount Olympus - 24" long x 48" wide - Oil on canvas,725
and so and so
is it possible?
i have first read the content from that file and then tried to explode with & ie $arrayNewLine=explode("&",$newLine);
But it's not my result.
Des anyone know this?
debug($arrayNewLine);debug? Not aware of that function.... don't you meanvar_dump? Orprint_r? And what do you think the result is? He's splitting it on ampersands..you can do that in your head.