title: CodeIgniter: How can I display single validation error?
body: <p>If I used this</p>
  
  <pre><code>&lt;?= validation_errors(); ?&gt;
  </code></pre>
  
  <p>the result is</p>
  
  <pre><code>Username field is required
  Password field is required
  &lt;textbox for username&gt;
  &lt;textbox for password&gt;
  </code></pre>
  
  <p>what I actually need is to display those errors inline with their element</p>
  
  <p>example:</p>
  
  <pre><code>&lt;textbox for username&gt; Username field is required
  &lt;textbox for password&gt; Password field is required
  </code></pre>