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/ | |
 | All Tech news in ONE place
Tired of browsing thru hundreds of RSS feeds? Try Techi. All the tech news from around the web in ONE place, including exclusive articles. Daily newsletter.  | From our sponsors | | |
Misi numpang tanya .... Ane punya form seperti in... Sep 25th 2013, 03:44, by Rama Zeta | Misi numpang tanya ....
Ane punya form seperti ini :
http://prntscr.com/1tbp8o
Script processnya seperti ini :
http://prntscr.com/1tbfb4
Tapi ketika di isi jam masuk contoh : 10 20 , jam keluar : 17 30 . yang masuk ke database cuma 20 sama 30 nya . Yang error apanya yahh , mohon bantuannya om . |
| | Ralat : script process mya : http://pastebin.com/hsvFL88i
Monggo di tengok om ... |
| | hanya sekedar bertanya: bedanya $jam_masuk=$_POST['jam1'] sama $jam_masuk=$_POST['jam_masuk']; apa? kira2 beda gak antara: $jam_in[$i]="{$jam_masuk[$i]}{$menit_masuk[$i]}"; dengan:
$jam_in[$i]="{$jam_masuk[$i]}:{$menit_masuk[$i]}";
... kurang ":" ? cmiiw ^_^V |
| | iya pak , yang $_POST['jam_masuk'] itu gak tertera di form nya . seharusnya sih dihapus pak :D |
| | Kalo yang $jam_in[$i] ditambahi : nanti value yang masuk kedb jadi 17:30 |
| | itu kayanya pake perulangan om jd form inputnya jadi array |
| | $masuk = $jam_masuk.":".$menit_masuk; $keluar = $jam_keluar.":".$menit_keluar; maaf kalo salah masih belajar web newbie asli | | |
|
Tidak ada komentar:
Posting Komentar