I’m trying to insert <br/> tag after 2nd word of a given string, but it crops some words of my string, can anyone help to fix the code on this Answer You can use array_splice :
I’m trying to insert <br/> tag after 2nd word of a given string, but it crops some words of my string, can anyone help to fix the code on this Answer You can use array_splice :