Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

PHP explode

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?

Name: Anonymous 2010-05-03 18:09

>>7
Respectable programmers would never use fun words such as IsComputerOnFire or cudder in their works.
Good words to use in a program are DbReportFactory and bayesian_average.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List