www.webdeveloper.com
Results 1 to 2 of 2

Thread: does mysql_real_escape_string work for double quotes?

  1. #1
    Join Date
    May 2009
    Posts
    124

    does mysql_real_escape_string work for double quotes?

    I put all of my data into my database using mysql_real_escape_string, but I just noticed that if someone enters double quotes the data gets truncated.

    What can I do?

  2. #2
    Join Date
    May 2009
    Posts
    124
    Oh wait...I think I know what happened. In part of my code I take the data out, modify it and put it back in the database. But I didn't put the mysql_real_escape_string clause on that!!!

    OK...thanks for your help. LOL!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles