title: php how to include some variable from another file
body: <p>say i have a main file :</p>
  
  <pre><code>        &lt;form id="form1" name="form1" action="" method="post"&gt;
          &lt;input title="Masukkan kalimat disini" type="text"  /&gt;
              &lt;?php   
             //main.php 
              $a = ...;
              $b = ....;
      ?&gt; 
  </code></pre>
  
  <p>and included file</p>
  
  <pre><code>  &lt;?php
  //included.php
      include 'main.php';
      ?&gt;
  </code></pre>
  
  <p>certainly included.php file will load all parts of main.php, so how to include some variable, such as include $a only, and not showing the textfield</p>
  
  <p>Thanks.</p>