info technology, software, programming, computer, hardware, open source, linux, windows, trick dan tips, tutorial,isu semasa dan segala pengalaman ku lalui...
5.16.2012
Fungsi str_pad() dalam aturcara php
Fungsi str_pad() dalam aturcara php
Contoh 1
$input=1;
echo str_pad( $input, 5, "0", STR_PAD_LEFT);
output = 00001
Contoh 46
$input=1;
echo str_pad( $input, 5, "0", STR_PAD_LEFT);
output = 00046
Labels:
php,
Programming
Subscribe to:
Post Comments (Atom)
Statistik Blog
Jumlah Posting dan Komentar Blog 194 buah artikel telah ditulis
270 buah komentar masuk
Widget edited by Harri
270 buah komentar masuk
Widget edited by Harri
No comments:
Post a Comment