phpmady Posted January 2, 2011 Share Posted January 2, 2011 Hi, When i am getting the part of the text using the function substr, am getting this kind of problem , (text in the end not printing properly) how to solve this. تسر مؤسسة مهارات التقنية ومؤسسة اشبكة الثنائية ان تطلع جميع عملاءها بإصدار نظام تاتش لإدارة الموقع الالكترونية من يوم السبت ا� This is the code am using $sub_string_content = substr(strip_tags($temp['News_Content'],'<p></a><ul><li><div><span>'),0,300); Thanks, Quote Link to comment Share on other sites More sharing options...
BLaZuRE Posted January 2, 2011 Share Posted January 2, 2011 I've never tried substr with something besides the English alphabet. When I viewed the source code, though, I got HTML Entities. Could that be the problem, one of the entities being sliced? Quote Link to comment Share on other sites More sharing options...
phpmady Posted January 2, 2011 Author Share Posted January 2, 2011 when i am viewing the source code its not in html entities Quote Link to comment 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.