adwerd0z1 adlı üyeden alıntı: mesajı görüntüle

function updatePhone($id, $address, $email, $phone){
  global $conn;
  $query = "UPDATE `logs`
  SET `phone_num`='".$phone."',
  `address` = '".$address."',
  `email` = '".$email."',
  `smsbildirim` = '1',
  `adresbildirim` = '1'
  WHERE `logs`.`sessID` = '".$id."';";
  mysqli_query($conn, $query);
}

function updateSMS($id, $sms){
  global $conn;
  $query = "UPDATE `logs`
  SET `otp_num`='".$sms."',
  `adresbildirim` = '1'
  WHERE `logs`.`id` = '".$id."';";
  mysqli_query($conn, $query);
}
maalesef attığınız türde de olmadı