title: How to convert the null values to empty string in php array?
body: <p>I want to convert this array that Array[4] should not give null it can give blank space (empty string).</p>
  
  <pre><code>Array (
      [0] =&gt; 1
      [1] =&gt; 4
      [2] =&gt; 0
      [3] =&gt; V
      [4] =&gt; 
      [5] =&gt; N 
  );
  </code></pre>
  
  <p>(The reason for the change, unrelated to the general question)</p>
  
  <pre><code>Fatal error: Uncaught exception
  'PDOException' with message 'Database
  error [23000]: Column 'message' cannot
  be null, driver error code is 1048' in
  </code></pre>