Minggu, 08 September 2013

PHP Indonesia - Facebook: [TANYA] INSERT INTO `coba2`(`cek`) VALUES ('1') WH...

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/ 
Exotic travel ideas.

Searching for your next vacation destination? Subscribe to Off The Beaten Path, a newsletter featuring captivating locales to help you to plan your next trip.
From our sponsors
[TANYA] INSERT INTO `coba2`(`cek`) VALUES ('1') WH...
Sep 9th 2013, 04:15, by Adi Irawan

Adi Irawan 4:15am Sep 9
[TANYA]
INSERT INTO `coba2`(`cek`) VALUES ('1') WHERE coba2.gab = coba.gabungan

coba dan coba2 adalah tabel yg berbeda.. gmn seharusnya?

onegaisimasu!

Adi Irawan 4:15am Sep 9
catatan perintah langsung di phpmyadmin

Uhuk Uhuk Tokk 4:17am Sep 9
bikin function buat.query coba2.gab=coba.gabungan
sbnernya simple dan banyak cara.mas .. :)
cuman alangkah baiknya klo pke function sja

Fendi Tri Cahyono 4:25am Sep 9
itu kok ada where nya mas? tujuannya buat apa ya? setau saya kalo insert gak pernah perlu where. :D

Adi Irawan 4:26am Sep 9
iya yg di insert itu yg cb2.gab=cb.gabungan yg gak sama ya gak perlu insert. gmn ya?

Fendi Tri Cahyono 4:28am Sep 9
kasusnya gimana emang , bisa jangan kasih contoh nama tabel coba gak? biar ada gambaran.hehehe....

Uhuk Uhuk Tokk 4:32am Sep 9
$call=mysql_query("select * from coba2 as b, coba as c where b.gab=c.gabungan");
$call1=mysql_fetch_assoc($call);

Adi Irawan 4:34am Sep 9
itu kan kalo nulis di php. ini sy nulis langsung di phpmyadmin

Adi Irawan 4:35am Sep 9
itu kan php gan ==a

Fendi Tri Cahyono 4:35am Sep 9
pesan errornya apa mas? perasaan gak bisa deh query insert ada ekspresi wherenya

Fendi Tri Cahyono 4:35am Sep 9
kecuali validasi pake triger.

Adi Irawan 4:36am Sep 9
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE coba2.gab = coba.gabungan' at line 1

Fendi Tri Cahyono 4:36am Sep 9
kalo mau validasi valuenya pas insert pake triger mas

Cahya Dsn 4:45am Sep 9
mungkin maksudnya UPDATE, bukan INSERT ^_^V

UPDATE coba2 SET cek='1' WHERE coba2.gab IN(SELECT gabungan FROM coba);

cmiiw ^_^V

Adi Irawan 4:45am Sep 9
buahahahha iya lupa pake update.. wkwkkwk

Fendi Tri Cahyono 4:46am Sep 9
walah...

Fendi Tri Cahyono 4:46am Sep 9
selamat ya mas ud ketemu. :D

Adi Irawan 4:46am Sep 9
iya makasih ya agan-agan dan mas-mas 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

Tidak ada komentar:

Posting Komentar