title: Remove white spaces in php output
body: <p>I have some php code. But it outputs some empty spaces in the <strong>beginning</strong> when I view the source code. </p>
  
  <p>Can someone help me to remove it?</p>
  
  <p>Here is the screenshot</p>
  
  <p><img src="https://i.stack.imgur.com/WonU0.png" alt="enter image description here"></p>
  
  <p>Here is my full code</p>
  
  <pre><code>&lt;?php
  include_once dirname(dirname(__FILE__)) . '/wp-load.php';
  function dt_query() {
  $args = array(
      'post_type' =&gt; 'order_guide',
  );
  $the_query = new WP_Query( $args ); ?&gt;
  &lt;?php $dt_array = array(); ?&gt;
  &lt;?php if ( $the_query-&gt;have_posts() ) : ?&gt;
    &lt;?php while ( $the_query-&gt;have_posts() ) : $the_query-&gt;the_post(); ?&gt;
      &lt;?php 
       $dt_array[] = array(
       'glazier' =&gt; get_field('glazier'),
       'brand'   =&gt; get_field('brand'),
       'pack'   =&gt; get_field('pack'),
       'size'   =&gt; get_field('size'),
       'description'   =&gt; get_field('description'),
       'code'   =&gt; '&lt;a href="'.get_field('code').'"&gt;Download&lt;/a&gt;',
       'cs_price'   =&gt; get_field('cs_price'),
       'split'   =&gt; get_field('split'),
       );
       ?&gt;
    &lt;?php endwhile; ?&gt;
  &lt;?php endif;
  echo maybe_serialize($dt_array); ?&gt;
  &lt;?php }
  dt_query();
  </code></pre>