Sabtu, 20 Juli 2013

PHP Indonesia - Facebook: Tanya Session Mastah Mau tanya bagaimana yah caran...

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. NOTE: Rules for Wall posting: https://www.facebook.com/groups/35688476100/doc/10151597056316101/ Daftar Keanggotaan : http://www.facebook.com/groups/35688476100/doc/10150671770741101/
Tanya Session Mastah Mau tanya bagaimana yah caran...
Jul 20th 2013, 15:50, by Danura Aditya

Danura Aditya 3:50pm Jul 20
Tanya Session
Mastah Mau tanya bagaimana yah caranya Menghapuss satu session dalam kasusu ini shopingcart jadi saya Mau Hapus 1 Record Produk yang tidak jadi dibeli session saya
$shop_cart=$_SESSION['shop_cart'];
dalamnya ada $shop_cart[$i]['id']

Gunawan Mujur Wibisono 3:51pm Jul 20
jadikan isinya 0

Danura Aditya 3:53pm Jul 20
caranya gimana yahhh saya pake unset kehapus semua mas

Gunawan Mujur Wibisono 3:54pm Jul 20
hrsnya km unset $_SESSION[shop_cart][$i][id]

Danura Aditya 3:54pm Jul 20
ohhhh saya pakenya
if($_POST['hapus'])
{
unset($_SESSION['shop_cart']);
}

Gunawan Mujur Wibisono 3:55pm Jul 20
^jgn

Danura Aditya 3:56pm Jul 20
Mas Kalo Hapusnya saya Ga perlu Pake Looping Kan ??

Gunawan Mujur Wibisono 3:57pm Jul 20
cara km samakayak... bunuh laba2 dgn bakar rumah

Danura Aditya 3:57pm Jul 20
hihihi begini aja mas ??
if($_POST['hapus'])
{
unset($_SESSION['shop_cart'][id]);
}

Gunawan Mujur Wibisono 3:58pm Jul 20
$_SESSION[shop_cart][$i][id]

Gunawan Mujur Wibisono 3:58pm Jul 20
ato bikin aja jd 0

Danura Aditya 3:59pm Jul 20
ohhhhh ia ia
jdi 0 Maksudnya Bagaimana Mas ?

Imam Bazoka 3:59pm Jul 20
bikin apaan sih gan? sophing online?

Danura Aditya 4:00pm Jul 20
iyahhhh Sederhana aja Simpen Ke session

Gunawan Mujur Wibisono 4:01pm Jul 20
0=> gak ada barang.. di coding km ignoreaja

Danura Aditya 4:03pm Jul 20
cara Menjadikan 0 nya Mas
$_SESSION['shop_cart'][id] = 0; gitu aja ?? kah

Gunawan Mujur Wibisono 4:04pm Jul 20
selama ini km ngisi nilai shop_cart gimana?

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