Minggu, 29 September 2013

PHP Indonesia - Facebook: [ask] saya bikin pencarian dari PHP, tapi waktu sa...

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] saya bikin pencarian dari PHP, tapi waktu sa...
Sep 29th 2013, 09:09, by Devi Ardiana

Devi Ardiana 9:09am Sep 29
[ask] saya bikin pencarian dari PHP, tapi waktu saya masukin tanda petik tuggal error ya?cara mengatasinya gimana ya. .
mohon bantuaanya mastah :D
katanya suruh nambahin stripslashes tapi tetep masih error

Devi Ardiana 9:17am Sep 29
udah gakb bisa mas.
kaya gini kan:

("SELECT * FROM profilmember WHERE (nama LIKE '%".addslashes($search)."%')" )

Dicky Agustin C'ociv Thea 9:17am Sep 29
coba gunain addslashes

Dicky Agustin C'ociv Thea 9:19am Sep 29
Coba yg ini:
("SELECT * FROM profilmember WHERE nama LIKE '%".addslashes($search)."%' " )
gak usah pake tanda kurung pada WHERE nya
smoga berhasil

Agus Setiawan 9:20am Sep 29
Kalo query-nya pke PDO gak masalah kayaknya kalo petik.

Devi Ardiana 9:23am Sep 29
bisa mastah Dicky, terimakasih :)

Dicky Agustin C'ociv Thea 9:28am Sep 29
Sip, :)

Deni Aditiya 9:54am Sep 29
kali pake tanda \. bisa juga gak?

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