title: how to assign value to a specific field in a database using php?
body: <p>i am having  a hard time to assign the value of $temp (an int variable) to a field in database by using php. how am i going to assign the value of $temp to field fldvote_count where fldname ='exec1_1' in table tblexec_votes? please help me, this is my code, it is not working, the database does not update using this. thank you.</p>
  
  <pre><code>$result="UPDATE tblexec_votes SET fldvote_count= '$temp' WHERE fldname ='exec1_1'";  
  </code></pre>