Fetch content table from your database. I have stored this in $descp.
$descp=$row['YOUR MySql content table'];
$arr=array();//global array
$arr = explode(" ",html_entity_decode($descp));
$record = array();
$k =count($arr);
for($x=0;$x<=25;$x++){
if( $x < $k){
$record[] = $txt[$x];
}
}
echo "OutputData".$data =implode(" ",$record);
Comments
Leave A Comment