title: Problems with single quotation mark while inserting
body: <p>I am having a problem while uploading a string to MySQL database. Here's the things I use:</p>
  
  <ol>
  <li>EditText for user input</li>
  <li>PHP file that receives string from the application and inserts into the database</li>
  </ol>
  
  <p>The PHP file I use for communication:</p>
  
  <pre><code>&lt;?php 
  $con = mysql_connect("SERVER","DB_NAME","PASS");
  if (!$con)
      {
      die('Could not Connect:'. mysql_error());
      }
  mysql_select_db("DB_NAME",$con);
  
  
  mysql_query ("INSERT INTO table_name (id) VALUES('".$_REQUEST['st_Id']."')");
  
  mysql_close($con);
  ?&gt;
  </code></pre>
  
  <p>When I try to insert text into the EditText in android and that text includes a quotation marks the operation fails, otherwise the operation is working fine. I guess the problem in the PHP file while receiving the string but I have no idea how to solve it.</p>
  
  <p>Any ideas?</p>