explode takes an array (a multi-valued variable) and splits it, by a character or string..
what you are doing here is putting 3 single vars to explode..
secondly there is no "|" in your variables var1 var2 or var3, so how can it explode what's on each side of the | if there aren't any?
finally you can't say echo or print a string that's an $array (and all variables to the left of the = of an explode expression are arrays) so you'd have to say echo $save[0], $save[1], $save[2]
this is how explode works....
$var='text1|text2|text3';
$save = explode("|", $var1);
what you get is:
$save[0] = text1;
$save[1] = text2;
$save[2] = text3;
I hope that helps, but I'm pretty sure I'd have to come to Brazil and show you in person if I'm going to explain it any better
🙂
dross@dross.com