The MU forums have moved to WordPress.org

question about a mysql query (3 posts)

  1. Ovidiu
    Member
    Posted 13 years ago #

    would this query, I found inside a plugin delete that blgos options or all blogs options?

    function cleanDB($prefix){
          global $wpdb ;
          $wpdb->query("DELETE FROM $wpdb->options WHERE option_name LIKE '$prefix%'") ;
        }
  2. SteveAtty
    Member
    Posted 13 years ago #

    Just that blogs options .

  3. webhostuk
    Member
    Posted 13 years ago #

    Yes it will only delete the Blog options.

About this Topic

  • Started 13 years ago by Ovidiu
  • Latest reply from webhostuk