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/ | |
 | Compare Hotels
Find great prices for amazing hotels wherever your next destination may be. It's simple to search 100+ sites at once!  | From our sponsors | | |
Misi2 mau tanya query di postgre Saya punya Tabel... Aug 24th 2013, 10:40, by Robby Liaw | Misi2 mau tanya query di postgre
Saya punya Tabel A dan Tabel B, keduanya ada field yg sama misal id_member type nya integer..
Nah waktu di query : SELECT * FROM A WHERE id_member=".$id_member." ,
eh keluar error : Warning: pg_query(): Query failed: ERROR: invalid input syntax for integer
Ini kenapa yah? Klo saya tambahin (int)$id_member itu warning nya ilang, tapi datanya ngga muncul..
Need help on pg_query plzzzz @_@
Thanks before ~ |
| | kalo $query = "SELECT * FROM A WHERE id_member=$id_member"; |
| | Error om : Warning: pg_query(): Query failed: ERROR: syntax error at end of input LINE 1
Nah aneh nya error ini cuma terjadi di localhost pc server saya (bkn hosting), tp klo di localhost pc pribadi saya lancar jaya @_@ |
| | Mungkin masalah variable global. |
| | Variable global? Apa tuh om? Gmn solusi nya ya? | | |
|
Tidak ada komentar:
Posting Komentar