How can I use variables with update query : <pre><code>$b=number_format($number[12],2);
$sql01=mysql_query("UPDATE t_maindbfordashboard SET valueVar=".$a." WHERE managementName=dds");
</code></pre>

<p>I am absolutely sure that there are no problems connecting to the database or such. This query works when I try "SELECT * FROM tableName". Where do you think I'm making a mistake?</p>
