Sabtu, 28 September 2013

PHP Indonesia - Facebook: permisi kang mau tanya, oh ya kalo dalam satu fung...

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/ 
Want free Kindle ebooks?

Sign up to receive the best freebie Kindle ebook deals in your email every day.
From our sponsors
permisi kang mau tanya, oh ya kalo dalam satu fung...
Sep 28th 2013, 16:39, by Sachroni Gugum Milar

Sachroni Gugum Milar 4:39pm Sep 28
permisi kang mau tanya, oh ya kalo dalam satu fungsi insert boleh ndak ada 2 data yg bertipe date ( inputan tanggal ) ?

Sandi Racy 4:42pm Sep 28
maksudnya gan ?

Sachroni Gugum Milar 4:44pm Sep 28
gini gan kan ane punya inputan kayak gini

Sachroni Gugum Milar 4:46pm Sep 28
lah di inputan tu kan ada input tanggal lahir sama TMT SK terakhir itu tipe datanya "date" ,lah yg tanggal lahir bisa masuk gan di database cuma yg TMT nggak bisa padahal tipe datanya sama,pas tak coba si xampp itu error di TMTnya gan

Muhammad Saleh Hafizh Fajri 4:47pm Sep 28
1 tabel bisa memiliki lebih dair 2field dengan tipe data date/datetime
g masalah tuh o.O

Aris S Ripandi 4:49pm Sep 28
Bisa

Ahmad Hajar 4:52pm Sep 28
Errornya?

Sachroni Gugum Milar 4:54pm Sep 28
owalah ternyata error di valuenya gan hehehe,beda sama yg di database T^T

Sandi Racy 4:54pm Sep 28
kalo dalam satu fungsi insert boleh ndak ada 2 data yg bertipe date ( inputan tanggal ) ? -> boleh
itu gak masuk berarti ada yang salah

Sachroni Gugum Milar 4:55pm Sep 28
makasih gan jawabannya hehe udah ketemu masalahnya ^^

Muhammad Saleh Hafizh Fajri 4:56pm Sep 28
oh kalau error itu cek donk format inputan
untuk mysql itu inputan date formatnya
yyyy/mm/dd

Yana Setiono 4:58pm Sep 28
Dihuat dd mm yy jg bsa.
Date("d-m-Y");

Muhammad Saleh Hafizh Fajri 5:00pm Sep 28
setau saya mysql nerima formta yyyy/mm/dd atau yyy-mm-dd
kalau d-m-y ndak mau deh coba saja
kalau yang
date(d-m-Y) itu kan buat di php ny

Sachroni Gugum Milar 5:01pm Sep 28
lah itu kalo di ubah ke ("d-m-Y") bisa kesimpen kah ke databasenya ?

Muhammad Saleh Hafizh Fajri 5:03pm Sep 28
mana bisa setau saya
kan udah saya bilang diatas, mysql itu nerima format yyyy/mm/dd atau yyyy-mm-dd

Muhammad Saleh Hafizh Fajri 5:04pm Sep 28
http://dev.mysql.com/doc/refman/5.0/en/datetime.html

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