title: How does {} affect a MySQL Query in PHP?
body: <p>What is the difference between the following 2 queries?</p>
  
  <pre><code>mysql_query("UPDATE table SET name = '$name'");
  
  mysql_query("UPDATE table SET name = '{$name}'");
  </code></pre>