Re: mysql,cocoa,escape characters
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.