$maxchar){ $words=explode(" ",$text); $output = ''; $i=0; while(1){ $length = (strlen($output)+strlen($words[$i])); if($length>$maxchar){ break; }else{ $output = $output." ".$words[$i]; ++$i; }; }; }else{ $output = $text; } return $output.$end; } mysql_connect("localhost","efa_iduser","e3px.e0a"); mysql_select_db("efa_id"); $ar=mysql_query("SELECT `id`, `headline`, `summary`, `article`, `registeredTime` FROM `id_efa_article` where categoryid=1 order by registeredTime desc limit 2"); $ir=mysql_query("SELECT `id`, `headline`, `summary`, `article`, `registeredTime` FROM `id_efa_article` where categoryid=4 order by registeredTime desc limit 3"); $cr=mysql_query("SELECT `id`, `headline`, `summary`, `article`, `registeredTime`,photo_1 ,photo_2 FROM `id_efa_article` where categoryid=2 order by registeredTime desc limit 1"); $qr=mysql_query("SELECT `id`, `headline`, `summary`, `article`, `registeredTime` FROM `id_efa_article` where categoryid=6 order by registeredTime desc limit 1"); $crr=mysql_fetch_assoc($cr); $qrr=mysql_fetch_assoc($qr); ?> Persekutuan Gereja - Gereja Dan Lembaga - Lembaga Injili Indonesia

BERITA

INFORMASI



RENUNGAN HARIAN '.$qrr[summary],120)?> [More]