Rabu, 18 September 2013

PHP Indonesia - Facebook: gan ane input array kayak gini $_SESSION['shop_ca...

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/ 
How to Get into Medical School

A tested blueprint to approach the daunting admissions process with both confidence and success! Enroll in this online course for just $29.
From our sponsors
gan ane input array kayak gini $_SESSION['shop_ca...
Sep 18th 2013, 09:42, by Danura Aditya

Danura Aditya 9:42am Sep 18
gan ane input array kayak gini
$_SESSION['shop_cart'][]= array('id'=>$prdId,'jumlah'=>$prodharga);
terus udah ada isinya
(id=P01,jumlah=2000,id=S001,jumlah=1000)
gimana yah ketika ane masukin array baru id dengan id yang sama maka akan terganti dengan yg baru

Danura Aditya 10:04am Sep 18
for($i=0;$i<=count($_SESSION['shop_cart']);$i++)

{

$id_terpilih.=",'".$_SESSION['shop_cart'][$i]['id']."'";


if(count($_SESSION['shop_cart'])>0)
{
unset($_SESSION['shop_cart'][$i]['id']);
}
}
udah Pake ini sih cuma gagal

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