I have a variable $Altgeraet it contains "OK" or "NOK".
I have an mysql field called Status_Altgeraet in the table zuordnung. So now I want to UPDATE or SET the field based on the variable.
This is what I tried:
$sql_Update = "UPDATE zuordnung SET Status_Altgeraet = ".$Altgeraet"";
mysql_query($sql_Update);
Can you give me tips how to solve this? I'm a php beginner.
mysql_query, it has a big red warning box on the manual page for a reason.