Pyro Posted October 7, 2008 Share Posted October 7, 2008 //quote box. $reactie = preg_replace("/\[quote\](.+?)\[\/quote\]/is",'<br /><center><table width="95%" cellpadding="0" align="center" cellspacing="1" class="m"> <tr><td width="100%" colspan="3" class="forumhdr">Quote.</td></tr><tr class=\"forum\"><td class=\"forum\">\1 </td></tr></table></center><br />', $reactie2); How can i get that peice of code to make it word wrap the text that is entered? ??? ??? Quote Link to comment https://forums.phpfreaks.com/topic/127464-wordwrap-help/ Share on other sites More sharing options...
rarebit Posted October 8, 2008 Share Posted October 8, 2008 in html: align="justify" in css: style="text-align:justify;" you'll want to check with w3c validater to see if html version still correct! Quote Link to comment https://forums.phpfreaks.com/topic/127464-wordwrap-help/#findComment-659532 Share on other sites More sharing options...
CroNiX Posted October 8, 2008 Share Posted October 8, 2008 Since I see you are using some php in there... http://uk.php.net/wordwrap Quote Link to comment https://forums.phpfreaks.com/topic/127464-wordwrap-help/#findComment-659642 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.