I need to get a typed information and give the uptade in a field (pont), but the field needs to be on the same line as a selected player in my combobox (cmbtime). So when I select the player in the combobox I would already be able to assign the score to the player selected in the combobox.
$pont = $_POST['pont'];
$id = $_POST['cmbjogador'];
$sql = mysql_query("UPDATE jogador SET $pont WHERE cmbjogador );
What am I doing wrong?