title: how i can solve this error "A PHP Error was encountered"?
body: <p>Please give some idea. how to solve the error? </p>
  
  <pre><code>        echo "&lt;td class='bold'&gt;Race Category&lt;span class='star'&gt;*&lt;/span&gt;&lt;/td&gt;";
      $array_all=array('name'=&gt;'race_category','value'=&gt;$s_race_category,'type'=&gt;'RACE_CATEGORY','style'=&gt;"class='selectbox'",'javascript'=&gt;'','default'=&gt;'');
      echo "&lt;td&gt;";
      echo $this-&gt;model_students-&gt;getAll($array_all);
      echo "&lt;/td&gt;";
  </code></pre>
  
  <p>The error:</p>
  
  <pre><code>A PHP Error was encountered
  Severity: Notice
  Message: Undefined variable: s_race_category
  Filename: templates/forms.php
  Line Number: 46
  
  A PHP Error was encountered
  Severity: Notice
  Message: Undefined variable: s_programme
  Filename: templates/forms.php
  Line Number: 124
  </code></pre>