I already have the following in place to explode the br's in $tmp..
$tmp = explode('<br>', $tmp);
echo $tmp[0];
echo "<br>";
echo $tmp[1];
Now, in $tmp[0] there is a bunch of text, separated by a pipeline "|". ie: word1|word2|word3|word4|word5 take notice, the last once doesn't end in a pipeline..
How can I explode $tmp[0] to grab each bit of text, turn them into an array, ie: $pipetxt[0], $pipetxt[1], etc. without the pipelines..
Can I do the exact same as the above, after the above occurs.. but go;
$pipetxt = explode('|', $tmp[0]);
echo $pipetxt[0];
echo "<br>";
echo $pipetxt[1];
Thank you!
$tmpstarts as being a string (some text) and when you explode it you get an array of strings (a "bag" of strings). So your$tmpvariable now points at a bunch of strings. When you then explode$tmp[0]what you are doing is taking the "0th" (first) element of the array (another string) and exploding it to obtain a new array of strings. You can continue in this way indefinitely (the worst that can happen is getting an array with a single string in it).