Name: Anonymous 2010-05-03 2:24
Trying hard to explode a flat file hit counter.
Here is an example:
home:1|news:33|contact:4
I need to explode first by the | to get the page id and the hits, then I need to explode again by the : to separate them.
I tried using foreach but that was a mess. Any ideas?
Here is an example:
home:1|news:33|contact:4
I need to explode first by the | to get the page id and the hits, then I need to explode again by the : to separate them.
I tried using foreach but that was a mess. Any ideas?