Whats the different of explode() and wordwrap() ?
Answer :
just see this example for explode()
<?php
$birthday=’1998-12-11′;
//we need to split the component to date, month and year
$day_parts=explode(‘-‘,$birthday);
// we use – as tool to separate, now print
$date_component=$day_parts[2];
$month_component=$day_parts[1];
$year_component=$day_parts[0];
?>
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.