Minggu, 18 Agustus 2013

PHP Indonesia - Facebook: Merubah angka biasa ke arabic, function to_arabic...

PHP Indonesia - Facebook
PHP Indonesia is a community for everyone that loves PHP. Our focus is in the PHP world but our topics encompass the entire LAMP stack. Topics include PHP coding, to memcached handling, db optimizations, server stack, web server tuning, code deploying, hosting options and much much more. Youtube Channel : http://www.youtube.com/user/OurPHPIndonesia Twitter : @php_indonesia NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/ 
Mobile Game Development Course

Learn how to create awesome HTML5 games that run on iPhone, iPad, Android and Desktop! Sign up today for this $99 online course.
From our sponsors
Merubah angka biasa ke arabic, function to_arabic...
Aug 19th 2013, 01:25, by Wak Hehe Jek

Wak Hehe Jek 1:25am Aug 19
Merubah angka biasa ke arabic,

function to_arabic( $num = 0 ) {
$arabic = Array('٠','١','٢','٣','٤','٥','٦','٧','٨','٩');
$number = Array('0','1','2','3','4','5','6','7','8','9');
return str_replace($number,$arabic, $num);
}

pertanyaanya, apakah ada cara yang lebih manusiawi? maksudnya yang native ada gk?
thanks :D

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

Tidak ada komentar:

Posting Komentar