title: Codeigniter - sanitize function parameter
body: <p>How can I sanitize a function parameter?
  I have a url like: example.com/controller/function/parameter
  and that parameter will be used to get data from a database.</p>
  
  <p>There is a specific function or I need to use <code>mysql_real_escape_string</code>?</p>