It wont update a row in the db Its just a language changing system and when i thoughts its because of the escape post string, then i used no string passed to the query and it still wont work So here is the code
$whatlanguage = $_GET['languageoption'];
$sql = "UPDATE people SET language=bosanski WHERE id='$user_id'";
$_POST['settingsuccess'] = 1;
if (!mysqli_query($con, $sql))
{
echo "Error: " . mysqli_error($con);
}
The error
Error: Unknown column 'bosanski' in 'field list'