title: Can I declare a variable name like this $(variable name) in PHP?
body: <p>I want to get the resulting string(field name) of the mysql function, mysql_field_name() and declare that as a variable,so that I can use it later in my program.<br>
  For example, like this:</p>
  
  <pre><code>$(mysql_field_name($result,2)) = 2;
  </code></pre>
  
  <p>Here, can I use this statement like this : <code>$(mysql_field_name($result,2));</code><br>
  Is it a correct variable declaration?<br>
  Will it work and will it declare a variable with field name as the variable name?</p>