just to remember the string I have would be: 213:12🔢:as134:546
after every second ":" I'd need a "\n"
I need to send the formated string (with the \n etc) via email, but with this function i can only display the whole thing, I need to have the thing in one big string which will be the body of the mail!
$temparray = explode(":", $inputarray);
for ($i = 0; $i < sizeof($temparray); $i += 2) {
echo($temparray[$i].":".$temparray[$i+1]."\r\n");
}
p.s. i'm still stuck at getting the empty values out of my array(ooh how I hate those arrays!)