title: $wpdb->insert not working. No Error Msg
body: <p>Got the lower portion here sorted, but now there's an issue when it inserts the record. I have the <code>NULL</code> value for <code>file</code> formatted as <code>%s</code> for string, but it's not inserting <code>NULL</code> it's inserting <code>[BLOB - 0B]</code>. The column format in the mySQL table is <code>longblob</code>. Any ideas?</p>
  
  <hr>
  
  <p>this is my first time using <code>$wpdb-&gt;insert</code> and it looks like I've missed something.</p>
  
  <p>Here's the loop I'm trying to use. There are currently 2 timestamps in the array.</p>
  
  <pre><code>for ( $i = 0; $i &lt; count($timestamps); $i++ ) {
  $working_time = $timestamps[$i];
  $working_form = $formnames[$i];
  
  $status_data = array(
      'submit_time' =&gt; $working_time,
      'form_name' =&gt; $working_form,
      'field_name' =&gt; 'lead_status',
      'field_value' =&gt; 'new',
      'field_order' =&gt; 10001,
      'file' =&gt; NULL
  );
  $status_data_types = array(
      '%f',
      '%s',
      '%s',
      '%s',
      '%d',
      '%s'
  );
  
  $result = $wpdb-&gt;get_results("SELECT field_value FROM ".$leadtable." WHERE submit_time = ".$working_time);
  
  if(!$result) {              
      $insert = $wpdb-&gt;insert($leadtable, $status_data, $status_data_types);
      if( !$insert ) {
              echo 'didn\'t work';
          }
  }
  }
  </code></pre>
  
  <p>I know that <code>$working_time</code> and <code>$working_form</code> are both set properly. <code>$working_time</code> is a long float like <code>1387175380.9600</code> and <code>$working_form</code> is a string.</p>
  
  <p>Nothing is being returned, even by the <code>if( !$insert )</code> check so I'm guessing it's erring somewhere before that point. I know that <code>if( !$result )</code> will return true because that data does not exist yet.</p>
  
  <p>Found the issue. The get_results query was failing due to a missed period. My HS English teacher was right... a missed period can be a HUGE problem!</p>