WordPress.org

Support

Support » Plugins and Hacks » Hacks » mysql_real_escape_string error

mysql_real_escape_string error

  • I am using a MS SQL database abstraction layer for my WordPress site. I have run into an issue with a theme that uses mysql_real_escape_string() in its code.

    $_page = mysql_real_escape_string( strtolower( trim( strip_tags( $_REQUEST['page'] ) ) ) );

    The issue is that the abstraction layer will not work if there are MySQL direct calls.

    Is there an alternative to use something like $wpdb->escape instead of mysql_real_escape_string()?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘mysql_real_escape_string error’ is closed to new replies.