[snip] Have been given the solution and applied it to the code <?php $new_string = wordwrap($row['fname'], 20, "<br />\n");echo $new_string; ?> Why does it not work? [/snip] What is the output of the echo statement? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php