mysql_real_escape_string error (2 posts)

  1. olylax21
    Posted 5 years ago #

    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()?

  2. stvwlf
    Posted 5 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic