When I was breaking up my lines using
$text = explode(":", chop($ot_load[$index]));
I failed to recognize the huge problem of more colons. So I'm back asking if there is a way to explode only the first 3 colons.
My line example:
Results in:
Book | Chap | Verse | Text that would make
Where as I need the result to be:
Book | Chap | Verse | Text that would make: up my verse.
Code:
for ($index=0; $index < count($ot_load); $index++) { $text = explode(":", chop($ot_load[$index]));
I failed to recognize the huge problem of more colons. So I'm back asking if there is a way to explode only the first 3 colons.
My line example:
Code:
Book:Chap:Verse: Text that would make: up my verse.Results in:
Book | Chap | Verse | Text that would make
Where as I need the result to be:
Book | Chap | Verse | Text that would make: up my verse.