Jump to content

character not displaying peoperly when getting the part of the content using sub


phpmady

Recommended Posts

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,

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.