title: Sending javascript variable from view to controller in Codeigniter
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/419240/how-to-get-javascript-function-data-into-php-variable">How to get JavaScript function data into a PHP variable</a>  </p>
  </blockquote>
  
  
  
  <p>i have a javascript variable in order.php view and i want to send that variable to a controller and then to the model to write it in to the database. </p>
  
  <p>ex: var myOrderString = "something" to order.php controller. </p>
  
  <p>how to do this?</p>