• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: mysql,cocoa,escape characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mysql,cocoa,escape characters


  • Subject: Re: mysql,cocoa,escape characters
  • From: Sherm Pendley <email@hidden>
  • Date: Sat, 20 Apr 2002 14:57:17 -0400

On Saturday, April 20, 2002, at 02:26 PM, Mohammad F. Haque wrote:

I'm working on a cocoa-mysql app. how do i add escape characters to whatever i write in the textview. for example i need the string "I'm learning cocoa blah blah." to be "I\'m learning cocoa blah blah." having a blackslash before the single quote.

If you're using the C API, you can use the mysql_real_escape_string() function.

sherm--

Never put off until tomorrow what you can do today. There might be a law against it by that time.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
References: 
 >mysql,cocoa,escape characters (From: "Mohammad F. Haque" <email@hidden>)

  • Prev by Date: mysql,cocoa,escape characters
  • Next by Date: Re: Simple Exception Handler - Revelation part Deux
  • Previous by thread: mysql,cocoa,escape characters
  • Next by thread: Looking for HTML viewer method.
  • Index(es):
    • Date
    • Thread