title: mysql_escape_string() function is deprecated use mysql_real_escape_string() Codeigniter
body: <p>I am running a web app in codeigniter running on server. Here I've a user registration form, which works fine in localhost. But when it comes to server,when I try to register an user,my page shows the error:</p>
  
  <p><code>mysql_escape_string() function is deprecated use mysql_real_escape_string() in mysql/mysql_driver</code></p>
  
  <p>I tried changing my mysql_driver page but after changing everything goes blank. Can anyone help me to solve this error? </p>