Kamis, 31 Oktober 2013

PHP Indonesia - Facebook: selamat malam, ada sedikit masalah ni bos... ane k...

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/ 
Join Delanceyplace

Sign up to receive a free quote from a non fiction book every weekday.
From our sponsors
selamat malam, ada sedikit masalah ni bos... ane k...
Oct 31st 2013, 14:45, by Armen Al Habsyi

Armen Al Habsyi 2:45pm Oct 31
selamat malam, ada sedikit masalah ni bos...
ane kan buat validasi form dengan cara yang masih konvensional: contoh script nya:
if ($username==""){
echo ("<script>alert('Username Anda Masih Kosong!')</script>");
exit();
}

dan ini berjalan dengan baik, tatapi ketika pesan error keluar karena ada field yang masih kosong, maka field yang sudah diisi dengan benar sebelumnya juga ikut terhapus. jadi dengan terpaksa ngisi lagi dari awal, ada solusi gak guys?

Armen Al Habsyi 2:46pm Oct 31
ada solusi gak, agar yang sudah terisi tidak terhapus

Ardha Herdianto 2:48pm Oct 31
Mungkin bisa pakek window.history.back() , kalo ndak salah itu ndak ke apus

Armen Al Habsyi 2:50pm Oct 31
ok saye coba bos

Gandara Fajar Umbara 2:52pm Oct 31
pake javascript lebih ringN

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