Postingan lainnya
Text auto cut
bagaimana caranya buat kod text cut, bila text melebihi 100 text auto cut bantu gan.. bgi kod php wml..
0
1 Jawaban:
<?php substr($string, $start, $end);?>
$string = kalimati / string
$start = awal mulai word / int
$end = akhir word / int
//contoh misal
<?php echo substr('hello world', 0, 7);?>
//yang akan tercetak
//hello w
0