in PHP

php explode() and wordwrap()

Recommended VPS for your FreeBSD or Linux Server + Custom Iso Allowed (Free $20 credit for limited time, grab it now by click Here)

Whats the different of explode() and wordwrap() ?

Answer :

just see this example for explode()



//we need to split the component to date, month and year


// we use – as tool to separate, now print





Wordwrap will ‘wrapping’ user input, like formatting crazy user who type ‘aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa’ till he satisfied and brake our guestbook table.

Just make sure to add number bigger than 0 to enable wordwrap.