How can I explode this?
[email protected],123,12,1|[email protected],321,32,2
the output should be:
$email = [email protected]
$score = 123
$street = 12
$rank = 1
then remove the |
$email = [email protected]
$score = 321
$street = 32
$rank = 2
$string = [email protected],123,12,1|[email protected],321,32,2
explode( ',', $string );
is that correct?