$Filename = '3x4qqj73ncdzjfcyc';

  global $wpdb;

  $sql = $wpdb->prepare("SELECT FROM {$wpdb->prefix}my_table_name WHERE ConfigFilename = %s", $Filename);
  $Results = $wpdb->get_results($sql, ARRAY_A);
  if (count($Results) == 0)
    return(False);
  else
    return(True);
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.

Comments

Your email address will not be published. Required fields are marked *