title: UPDATE sql php variables
body: <p>When I use these statements works:</p>
  
  <pre><code>$sql = "UPDATE nametable SET column = '$number' WHERE username = '$text'";
  $result = mysql_query($sql, $link) or die(mysql_error());
  </code></pre>
  
  <p>But, when I change 'column' to 'option1' like this:</p>
  
  <pre><code>$sql = "UPDATE nametable SET '$option1' = '$number' WHERE username = '$text'";
  </code></pre>
  
  <p>The query doesn't work. What's wrong with $option1? :/</p>
  
  <p>Thanks!   </p>