I was messing around with some PHP functions for a bit, and came across wordwrap() - I stuck this code on a page to test it at one point...
...and I got this funky output:Code:<?php $var = "Diggidy Doggidy Duggidy"; $var = wordwrap($var, 5, "...<br>"); echo($var); ?>
Now, I may have not entered the correct parameters, but shouldn't an error message be displayed instead of that odd text?Code:Diggidy... Doggidy... Duggidy... { ... ... $forumshow`<—... Z—-




Bookmarks