No, addslashes
is not good enough. mysql_escape_string
is not necessarily good enough. Use mysql_real_escape_string.
Whether you like what it adds or not doesn't matter, it only escapes characters to make sure the query syntax is valid. If this gets in the way of what you're doing, you're doing something wrong.