vividona Posted January 30, 2010 Share Posted January 30, 2010 Hi friends, I made summary to my articles in my index page. but I have a problem with bbcode. summary show the open code eg [strong] but the closing code [/strong] does not show in summary bcs I already cut my article. so my bbcode fail to execute. PS: in full article bbcode show nice. $limit = 400; $summary = $Bod; if (strlen($summary) > $limit) $summary = substr($summary, 0, strrpos(substr($summary, 0, $limit), ' ')) . '...'; Link to comment https://forums.phpfreaks.com/topic/190380-bbcodes-fail-to-execute/ Share on other sites More sharing options...
vividona Posted January 30, 2010 Author Share Posted January 30, 2010 no answer??? Link to comment https://forums.phpfreaks.com/topic/190380-bbcodes-fail-to-execute/#findComment-1004384 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.