Senin, 12 Agustus 2013

PHP Indonesia - Facebook: GAN MAu tanya soal logika ne, saya bkin aplkasi ya...

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/ 
GAN MAu tanya soal logika ne, saya bkin aplkasi ya...
Aug 12th 2013, 08:01, by Sadewa Saputra

Sadewa Saputra 8:01am Aug 12
GAN MAu tanya soal logika ne,
saya bkin aplkasi yang ada table head dan detail,
gimana ya gan logika nya biar bisa table detail bsa one to many ke head
???
mohon pencerahannya gan

Sadewa Saputra 8:07am Aug 12
saya mnta logika untuk di phpnya, qlo pke konsep add to char slalu salah di logika detail nya,
karena setiap transaksi selalu dari null (0) lagi chart nya,
sedangkan chart selalu tersimpan

Mas Suwondo 8:22am Aug 12
Lebih jelasnya penginnya seperti apa mas ???

Eri Samsudin Cf 8:26am Aug 12
simpan satu primary key di head.. kemudian simpan dua primary key di detail.. 1 primary key sama dengan primary key di head dan satu lagi autoincrement hhe X)

ngerti gak gan :v

Rio Andrew M Purba 8:33am Aug 12
iya permainan primary sama foreign key nya aja,,
ntar dihubungkan pake view table, biar bisa kelihatan jelas relasi data one to many dari table head ke detail

Eri Samsudin Cf 8:35am Aug 12
contoh query mau di relasikan : select a.no_jual,b.nama_barang from tbl_jual_head a inner join tbl_jual_detail b on b.no_jual=a.no_jual

Mas Suwondo 8:36am Aug 12
Biasanya pakai 2 tabel view (tabel html). Tabel pertama buat masternya. Nha yang kedua untuk menampung data detailnya. Kalau satu data pada data master di klik/diselect, maka akan langsung mengirimkan informasi mengenai primary key nya, sehingga di level database bisa dilakukan proses seleksi foreign_key beserta relasinya.

Tapi kalau many to many, biasanya saya pergunakan 1 lagi tabel pembantu, untuk membantu memetakan relasi antar priomary_key ke foreign_key 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: [Hihi] http://ajax.rswebanalytics.com/seo-for-ajax...

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/ 
[Hihi] http://ajax.rswebanalytics.com/seo-for-ajax...
Aug 12th 2013, 08:04, by Jendro Purnomo

Jendro Purnomo 8:04am Aug 12
[Hihi]
http://ajax.rswebanalytics.com/seo-for-ajax/

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: [tanya] : $data = '[{"kode":1,"nama":"mobil","ha...

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/ 
[tanya] : $data = '[{"kode":1,"nama":"mobil","ha...
Aug 12th 2013, 08:10, by Indra Syafi'i

Indra Syafi'i 8:10am Aug 12
[tanya] :
$data = '[{"kode":1,"nama":"mobil","harga":200},{"kode":2,"nama":"motor","harga":100},{"kode":3,"nama":"sepeda","harga":50}]';
foreach ($data as $key => $value) {
echo $value['nama'];
}
error pas di foreach, kenapa yah???
#tolongin #donk

Yopi ى Atria 8:16am Aug 12
ganti var nya
$data = array(
array("kode"=>1,"nama"=>"mobil","harga"=>200),
array("kode"=>2,"nama"=>"motor","harga"=>100),
array("kode"=>":)","nama"=>"sepeda","harga"=>50));

Indra Syafi'i 8:18am Aug 12
itu data kiriman dari ajax JSON.
saya ambil di php pke $data = $_POST['data'];
hasilnya kayak gto.
gimana solusinya mastah? ;)

Amin Erfandy 8:19am Aug 12
$data = json_decode($data)
baru di foreach .

Indra Syafi'i 8:19am Aug 12
hasilnya null...

Yopi ى Atria 8:28am Aug 12
coba
$var_data = (array) json_decode($data);
print_r($var_data);

Bagas Pramudita 8:30am Aug 12
json dulu atuh

Indra Syafi'i 8:32am Aug 12
yopi : error conversi array to string.
bagas : maksudnya gimana mastah?

Ganda Gamaliel Soritua Sinaga 8:35am Aug 12
di decode dulu dari json ke array bro...
$arr_data = json_decode($data);

baru kemudian di foreach :
foreach ($arr_data as $blabla)

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: [ASK] cara menghapus nilai di dalam variable sessi...

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/ 
[ASK] cara menghapus nilai di dalam variable sessi...
Aug 12th 2013, 08:17, by Arief Akbar

Arief Akbar 8:17am Aug 12
[ASK]
cara menghapus nilai di dalam variable session gimana?
misal saya punya variable
$_SESSION['A'] = "100";
$_SESSION['B'] = "200";

nah saya cuma mau menghapus nilai session B gimana?

Prayoga Wicaksono 8:19am Aug 12
unset $_SESSION['B']

Jendro Purnomo 8:22am Aug 12
jangan lupa diawal session_start()

Bagas Pramudita 8:24am Aug 12
session_start();
unset($_SESSION['B']):

Mas Suwondo 8:25am Aug 12
Untuk menghapus fokus per variabel nya pakai : unset $_SESSION['B'];

Untuk menghapus borongan semua session, bisa pakai :

session_destroy()

Bagas Pramudita 8:26am Aug 12
Yup betul, session_destroy() untuk menghapus semuanya dan menutup session itu sendiri. Tapi untuk menghapus salah satu session bisa pakai unset :D

Arief Akbar 8:27am Aug 12
wah sip bisa gan...
terimakasih...

Arief Akbar 8:27am Aug 12
(y)

Bagas Pramudita 8:28am Aug 12
Good, Its done

Mas Suwondo 8:29am Aug 12
Terkadang pakai session berupa array atau object, sehingga untuk menghapus secara rombongan session dalam skup tertentu, tinggal unset session variabel yang bersangkutan

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: tanya.: gmna cranya kalaw kita upload foto dan sud...

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/ 
tanya.: gmna cranya kalaw kita upload foto dan sud...
Aug 12th 2013, 08:36, by Noval JW

Noval JW 8:36am Aug 12
tanya.:
gmna cranya kalaw kita upload foto dan sudah di set di upload.php itu ukurannya 100, nah sudah berhasil masuk kedalam database, yg berikutnya saya mau supaya dengan ukuran tersebut juga tampil dengan skirip tampil.php pada browser..kira2 skript nya gmnaya... tolong masukannya.thks

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: [Ask] mungkin agan" ad yg pernah nyoba : fingerpri...

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/ 
[Ask] mungkin agan" ad yg pernah nyoba : fingerpri...
Aug 7th 2013, 06:50, by Dadi Iskandar

Dadi Iskandar 6:50am Aug 7
[Ask]
mungkin agan" ad yg pernah nyoba :
fingerprint merek solution suport sama php ga? dtunggu infonya :)

Ja'far SH 7:39am Aug 7
trgantung sama versinya produknya, kayaknya pake VB..

Gunawan Mujur Wibisono 8:26am Aug 7
ato pake C

Conan Edogawa 8:41am Aug 7
bisa , tapi jatuhnya maksa

kudu buka port ke luar dan bikin aplikasi PHP yg running forever di background

aplikasi finger print pake PHP ??buat nyecannya aja palingan tapi kasian usernya harus ngarahin kursor terus

Dadi Iskandar 7:11am Aug 12
mas conan. hrus ngrahin kursor terus. mksudnya?
tp intinya bisa?
uda kplg soalnya...

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: siang mass/mba. :-) saya mau tanya sedikit, tentan...

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/ 
siang mass/mba. :-) saya mau tanya sedikit, tentan...
Aug 12th 2013, 06:47, by Agus Banirahman

Agus Banirahman 6:47am Aug 12
siang mass/mba. :-)
saya mau tanya sedikit, tentang xml.
saya punya kode xml, nah datanya pengen di ambil dari databe, kira" bisa kah itu??
klw boleh kasih contoh buat codenya :-)
klw nda boleh minta key buat di googlenya??
makasih sebelumnya :-)

Dimas Ade Rifki Ananda 6:53am Aug 12
xml output pake php ya gan??

Yanuar Nurcahyo 6:54am Aug 12
saya pernah buat xml pake database,,,
cara kerjanya sih... tetep pake php untuk koneksi'in ke database..
terus nampilin data dari databasenya saya tampilin kedalam bentuk xml...

Agus Banirahman 6:59am Aug 12
iia PHP mas Dimas Ade Rifki Ananda :-)
Yanuar Nurcahyo jadi dr php di ubah ke xml mass?? atau gmn mass? klw dari code difoto itu bisa nda data diambil dari database?

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