02.09.2016, 10:21
Unrelated to your issue, but sanitize your database inputs!
The %e specifier only works with mysql_format and escapes strings for you.
PHP код:
mysql_format(handle_var, query, sizeof(query), "INSERT INTO table (someString) VALUES ('%e')", someString);