title: CodeIgniter, adding parameter to form_open function
body: <p>i need to pass a paremeter to a form with form_open function but not like this :</p>
  
  <pre><code>$attr = array("id" =&gt; "$id");
  form_open("my_page", $attr);
  </code></pre>
  
  <p>the parameter i need to pass is like (data-parsley-validate) :</p>
  
  <pre><code>&lt;form action="my_page" method="post" data-parsley-validate&gt;
  </code></pre>
  
  <p>and i don't know how to pass it to the form_open function. 
  any help would be cool. 
  thanks.</p>