Selasa, 08 Oktober 2013

PHP Indonesia - Facebook: permisi mau tanya ini form Nama lengkap: No. in...

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/ 
Exotic travel ideas.

Searching for your next vacation destination? Subscribe to Off The Beaten Path, a newsletter featuring captivating locales to help you to plan your next trip.
From our sponsors
permisi mau tanya ini form Nama lengkap: No. in...
Oct 8th 2013, 11:58, by Bayu Luky

Bayu Luky 11:58am Oct 8
permisi mau tanya
ini form
Nama lengkap:
No. induk :
Beri button SUBMIT

No. induk mengandung informasi:
2 digit pertama kode jurusan, 6 digit berikutnya tanggal lahir, 2 digit berikutnya kode jenis kelamin. Misal: 1101019502
jurusan RPL --> 11
(12:TKJ, 13:MM)
tanggal lahir 01-01-95 --> 010195
Jenis kelamin PEREMPUAN --> 02

ask : bagaimana mengambil 2 digit pertama kode jurusan, 6 digit berikutnya tanggal lahir, 2 digit berikutnya kode jenis kelamin ? mohon penjelasannya

Fazrin Mayer 11:59am Oct 8
http://php.net/manual/en/function.substr.php

Bayu Luky 12:00pm Oct 8
ok terima kasih :)

Kecek Purwateja 12:03pm Oct 8
pake substring mas bro

Bayu Luky 12:06pm Oct 8
iya mas , maaf newbie :)

Kecek Purwateja 12:11pm Oct 8
<?php
$kode='1101019502';
$jur=substr('$kode',0,2);
$tgl=substr('$kode',3,6);
$jk=substr('$kode',9,2);
//tinggal di eksekusi aja variabel $jur, $tgl, $jk
?>

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