Selasa, 24 September 2013

PHP Indonesia - Facebook: Gan mau tanya sedikit, gimana cara menyimpan & edi...

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/ 
Kinvey Strategy eBook

Kinvey answers 7 critical questions about creating your mobile strategy and technology policies. See our answers in this free eBook.
From our sponsors
Gan mau tanya sedikit, gimana cara menyimpan & edi...
Sep 25th 2013, 04:25, by Heru Alexandria Setiawan

Heru Alexandria Setiawan 4:25am Sep 25
Gan mau tanya sedikit, gimana cara menyimpan & edit data, dari beberapa table ke satu form ??? mohon bantuannya

Perdana Hp 4:27am Sep 25
maksudnya??

Heru Alexandria Setiawan 4:32am Sep 25
sori kebalik menyimpan & edit data dari satu form ke beberapa table !!!

Perdana Hp 4:37am Sep 25
coba pake transaksional, commit, rollback, jadi dalam 1 form nanti terhubung beberapa tabel, misal tabel 1 dan 2, jika berhasil di tabel 1 tapi gagal di tabel 2, maka tabel 1 transaksi sebelumnya dibatalkan, coba cari di google commit dan rollback database transaksional, sorry penjelasannya dikit

Heru Alexandria Setiawan 4:42am Sep 25
ok sip makasih gan, infonya sangat bermanfaat sekali.

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

PHP Indonesia - Facebook: Misi numpang tanya .... Ane punya form seperti 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/ 
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

Rama Zeta 3:44am Sep 25
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 .

Rama Zeta 3:45am Sep 25
Ralat : script process mya : http://pastebin.com/hsvFL88i

Monggo di tengok om ...

Cahya Dsn 3:51am Sep 25
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

Rama Zeta 4:04am Sep 25
iya pak , yang $_POST['jam_masuk'] itu gak tertera di form nya . seharusnya sih dihapus pak :D

Rama Zeta 4:04am Sep 25
Kalo yang $jam_in[$i] ditambahi : nanti value yang masuk kedb jadi 17:30

Jali Umow 4:16am Sep 25
itu kayanya pake perulangan om
jd form inputnya jadi array

Asep Rahman Nurhakim 4:36am Sep 25
$masuk = $jam_masuk.":".$menit_masuk;
$keluar = $jam_keluar.":".$menit_keluar;
maaf kalo salah masih belajar web newbie asli

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

PHP Indonesia - Facebook: bang saya minta tolong. aq memasukkan nilai 0.222 ...

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
bang saya minta tolong. aq memasukkan nilai 0.222 ...
Sep 25th 2013, 03:56, by Oenggar Rahmat Syahbejo

Oenggar Rahmat Syahbejo 3:56am Sep 25
bang saya minta tolong. aq memasukkan nilai 0.222 atau bilangan lain yang nilainya 0.sekian ke database kok nilai yang masuk ke database malah "0". tipe datanya saya set float semuanya. mohon pencerahannya. thx

Cahya Dsn 4:04am Sep 25
contoh script/query-nya yang agan pakai gimana gan?

Oenggar Rahmat Syahbejo 4:10am Sep 25
Saya memasukkannnya pakai <select name=...><OPTION VALUE=".$r_nilai_kriteria['nilai'].">".$r_nilai_kriteria['no']."</OPTION></select>; querynya=mysql_query("UPDATE matriks_kriteria SET nilai='....'
WHERE kriteria_1=1 AND
kriteria_2=2");

Jali Umow 4:12am Sep 25
tipe datanya integer bkn om?
klo integer cb dgnt float

Oenggar Rahmat Syahbejo 4:13am Sep 25
saya set float semua eee

Jali Umow 4:15am Sep 25
bs liat coding lengkapnya gak om?

Oenggar Rahmat Syahbejo 4:19am Sep 25
Comboboxnya:<td><SELECT name="kri12"><?php nilaikriteria();?></SELECT>---- fungsi nilaikriterianya:function nilaikriteria(){
$sql_nilai_kriteria=mysql_query("SELECT * FROM nilai");
while($r_nilai_kriteria=mysql_fetch_array($sql_nilai_kriteria)){
echo "<OPTION VALUE=".$r_nilai_kriteria['nilai'].">".$r_nilai_kriteria['no']."</OPTION>";
}
}----querynya:$kri12=$_POST['kri12'];
mysql_query("UPDATE matriks_kriteria SET nilai='".$kri12['kri12']."'
WHERE kriteria_1=1 AND
kriteria_2=2");
$nilai_1_2=round((1/$kri12['kri12']),2);
mysql_query("UPDATE matriks_kriteria SET nilai='$nilai_1_2'
WHERE kriteria_1=2 AND
kriteria_2=1");

Cahya Dsn 4:23am Sep 25
$kri12['kri12'] <-- harusnya cukup:
$kri12 saja, atau $_POST['kri12'] ^_^V

Cahya Dsn 4:25am Sep 25
//..
$kri12=$_POST['kri12'];
mysql_query("UPDATE matriks_kriteria SET nilai='".$kri12."' WHERE kriteria_1=1 AND kriteria_2=2");
$nilai_1_2=round((1/$kri12,2);
mysql_query("UPDATE matriks_kriteria SET nilai='$nilai_1_2' WHERE kriteria_1=2 AND kriteria_2=1");

atau secara singkat(1 query):

//..
$kri12=$_POST['kri12'];
mysql_query("UPDATE matriks_kriteria SET nilai= CASE WHEN (kriteria_1=1 AND kriteria_2=2) THEN '".$kri12."' WHEN (kriteria_1=2 AND kriteria_2=1) THEN '".round(1/$kri12)."' END");

cmiiw ^_^V

Oenggar Rahmat Syahbejo 4:29am Sep 25
Cahya Dsn, BISA BUNG. Matur nuwun njih mas. :D skrg malah terisi 0,22 bisa.

Cahya Dsn 4:43am Sep 25
why it happen?
[1] pada form ditulis <select name='kri12'> sehingga nilai yang dikirim adalah berupa data skalar
[2] pada file prosesnya, karena menggunakan method POST, maka digunakan
$kri12=$_POST['kri12'];
dan nilai $kri12 mempunyai nilai skalar sesuai data yang dipilih sebelumnya
[3] jika dipanggil dengan $kri12['kri12'] maka akan (sebenarnya) timbul notice bahwa index dengan nama 'kri12' tidak ada, dan dianggap nilainya 0
[4] ada baiknya aktifkan semua error_reporting sehingga meski itu cuma notice akan kelihatan... it more convenient for development process ..

cmiiw ^_^V

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

PHP Indonesia - Facebook: agan ,,, ada saran yg bisa buat aplikasi desain o...

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/ 
Kinvey Strategy eBook

Kinvey answers 7 critical questions about creating your mobile strategy and technology policies. See our answers in this free eBook.
From our sponsors
agan ,,, ada saran yg bisa buat aplikasi desain o...
Sep 25th 2013, 04:04, by Muhammad Mas'ud Al Indunissy

Muhammad Mas'ud Al Indunissy 4:04am Sep 25
agan ,,,
ada saran yg bisa buat aplikasi desain online ? saya sdg cari

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

PHP Indonesia - Facebook: Gan ane minta tolong :) munculin pencarian untuk m...

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
Gan ane minta tolong :) munculin pencarian untuk m...
Sep 25th 2013, 04:42, by Ir Dhe'de Nurul Musthofa

Ir Dhe'de Nurul Musthofa 4:42am Sep 25
Gan ane minta tolong :)
munculin pencarian untuk mengisi koordinat bagaimana ya ?

Rahadian Bisma 4:43am Sep 25
seharusnya koordinat peta juga harus disimpan ke dalam database. di gmap ketika membuat marker, kita juga mendapat koordinatnya dan itu bisa disimpan.

Ir Dhe'de Nurul Musthofa 4:45am Sep 25
cara mengkoneksikan my sql ke google maps bagaimana ?

Ir Dhe'de Nurul Musthofa 4:45am Sep 25
my sql(data base nya)

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

PHP Indonesia - Facebook: mas mau tanya cara bikin form update dengan nilai...

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
mas mau tanya cara bikin form update dengan nilai...
Sep 25th 2013, 02:50, by Mukharom TSakalover Starnewboys

Mukharom TSakalover Starnewboys 2:50am Sep 25
mas mau tanya cara bikin form update dengan nilai enumerasi di databases ? gimana ya

Cahya Dsn 3:04am Sep 25
berlakukan nilai enum-nya selayaknya string (sesuai yang sudah dibuat di structure tabelnya) atau selayaknya integer sesuai index-nya (mulai dari 1) cmiiw ^_^V

Mukharom TSakalover Starnewboys 3:06am Sep 25
terus script pengambilan data phpnya gimana pak ? nilainya di buat dalam bentuk list menu

Cahya Dsn 3:08am Sep 25
coba aja dulu di phpmyadminya.. "SELECT * FROM namatabel" perhatikan bagian field yg bertipe enumerasi.. itulah yg dipakai ^_^V

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

PHP Indonesia - Facebook: Numpang Tanya Ga... ini kalo di w.Xp muncul tadi 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/ 
What drives your body?

Explore your exercise, sleep and food data to discover your body on projectaddapp
From our sponsors
Numpang Tanya Ga... ini kalo di w.Xp muncul tadi k...
Sep 25th 2013, 03:32, by Iswanto Nugroho

Iswanto Nugroho 3:32am Sep 25
Numpang Tanya Ga...
ini kalo di w.Xp muncul tadi kalo di W.7 ga muncul kenapa yach gan ??

<?php
$sql= mysql_query("select * from terima where number order by number desc limit 1 ") or die (mysql_error());
while ($isi= mysql_fetch_array($sql)){
?>
<tr>
<td>Roll In</td>
<td>:</td>
<td><input type="text" name="Rollin" size="24" value=<?php echo $isi['Roll_No'];?> disabled></td>
</tr>
<?php
}
?>

Edi Wang 3:40am Sep 25
coba ganti <input type="text" name="Rollin" size="24" value=<?php echo $isi['Roll_No'];?> disabled> menjadi <input type="text" name="Rollin" size="24" value="<?php echo $isi['Roll_No'];?>" readonly="readonly">

Iswanto Nugroho 3:43am Sep 25
ok dicoba..

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