Sabtu, 07 September 2013

PHP Indonesia - Facebook: [ask] cara membuat tombol delete dengan method POS...

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/ 
Shop Best Buy

Find this week's deals in computers, cameras, phones, and more! Choose store pick up or other shipment options.
From our sponsors
[ask] cara membuat tombol delete dengan method POS...
Sep 7th 2013, 10:01, by Habib Nurrahman

Habib Nurrahman 10:01am Sep 7
[ask] cara membuat tombol delete dengan method POST..
ini yg ada digambar saat ini menggunakan model <a href="domain.com/delete/29">
saya bingung untuk pngambilan id nya ketika tombolnya di delete

Jianto Cahkhene 10:02am Sep 7
lebih baik lagi anda tuliskan scripnya.

Habib Nurrahman 10:04am Sep 7
Lah kan saya tu tnya scriptnya...

Garry Priambudi 10:07am Sep 7
Kenapa gak pakai method GET aja?

Wisnu Adi Screamo 10:16am Sep 7
pake value hidden untuk idnya, ntar pas di post jadi pake id yang field hidden tadi.
untuk script pengambilannya :
if($namatombol == "value tombol"){
mysql_query("DELETE FROM tabel WHERE id='".$_POST['namafieldhidden']."'");
}
tes aja dulu

Habib Nurrahman 10:23am Sep 7
Boleh nnti tak coba idenya...makasih..

Wisnu Adi Screamo 10:24am Sep 7
sama-sama mas

Habib Nurrahman 10:24am Sep 7
Ga pke get karena tidak mau muncul di url

Wisnu Adi Screamo 10:24am Sep 7
iya saya tau, rata-rata emang pake post...

Habib Nurrahman 10:25am Sep 7
Alasan keamanan jg

Wisnu Adi Screamo 10:26am Sep 7
betul...

Wisnu Adi Screamo 10:27am Sep 7
jgn lupa form actionnya jangan di isi...

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