Sabtu, 19 Oktober 2013

PHP Indonesia - Facebook: para master php saya mau tanya gimana agar nilai d...

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
para master php saya mau tanya gimana agar nilai d...
Oct 19th 2013, 13:38, by Putut Pamilih Widagdo

Putut Pamilih Widagdo 1:38pm Oct 19
para master php saya mau tanya gimana agar nilai dari radio button saat edit data muncul tecentang otomatis sesuai nilainya.

<input name="p1" value="<?php echo $p1 ?>" type="radio" value="1">
<input name="p1" value="<?php echo $p1 ?>" type="radio" value="2">

misal nilai didatabase saya 2 maka dibrowser saya akan terklik radio button no 2.. mohon dibantu terima kasih..

Januar Adriadi 1:41pm Oct 19
<input name="p1" <?php echo $p1 == 1 ? 'checked' : ''; ?>" type="radio" value="1">
<input name="p1" <?php echo $p1 == 2 ? 'checked' : ''; ?>" type="radio" value="2">

yang dibandingkan nilai value di DB sama yang di radio nya, jika sama dikasih attribute "checked"

Yahya Adi Styawan 1:49pm Oct 19
aduh, master yang di panggil. ga jadi bantu deh... :p

Putut Pamilih Widagdo 1:51pm Oct 19
hahahaha ya udah panggil para programmer PHP hehehe sudah berhasil masbro makasih all

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