3 Replies - 741 Views - Last Post: 21 February 2012 - 05:17 AM Rate Topic: -----

#1 istore221  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 136
  • Joined: 11-December 11

problem about mysql query

Posted 20 February 2012 - 08:45 AM

when i insert a image url to mysql its is shown as this

http://img820.images...32/88212014.png

all the \ are miising

D:\other utilities\NIBM\VB.NET\My Phonebook\My Phonebook\Contact_pic\29096_122547764439367_100000524320509_206969_350738_n.jpg

what is the problam with that?
Is This A Good Question/Topic? 0
  • +

Replies To: problem about mysql query

#2 macosxnerd101  Icon User is online

  • Self-Trained Economist
  • member icon




Reputation: 10396
  • View blog
  • Posts: 38,463
  • Joined: 27-December 08

Re: problem about mysql query

Posted 20 February 2012 - 08:53 AM

Moved to Databases. Please don't post help questions in the tutorials sections.

The slashes are probably removed b/c they are special characters. If you use Prepared Statements to handle your queries, then they should take care of special characters appropriately.
Was This Post Helpful? 1
  • +
  • -

#3 blackcompe  Icon User is offline

  • D.I.C Lover
  • member icon

Reputation: 1150
  • View blog
  • Posts: 2,528
  • Joined: 05-May 05

Re: problem about mysql query

Posted 20 February 2012 - 09:08 AM

Use double backslashes.

D:\\other utilities\\NIBM\\VB.NET\\My Phonebook\\My Phonebook\\Contact_pic\\29096_122547764439367_100000524320509_206969_350738_n.jpg

Was This Post Helpful? 0
  • +
  • -

#4 istore221  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 136
  • Joined: 11-December 11

Re: problem about mysql query

Posted 21 February 2012 - 05:17 AM

thanks you
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1