etity framework doesnt depend on vs version. if u are using ef 6 then u must go with .net framework. if u are doing .net core projects u must go with ef core.
<script>
function getdoctor(val) {
$.ajax({
type: "POST",
url: "../get_doctor.php",
data:'specilizationid='+val,
success: function(data){
// i assume that your data on ajaxs success has 2 properties in the object
$("#input1").val(data.item1);
$("#input2").val(data.item1);
}
});
}
</script>
DB_CONNECTION=mysql
DB_HOST=[your db host ]
DB_PORT=[your db port]
DB_DATABASE=[your db name]
DB_USERNAME=[your db username]
DB_PASSWORD=[your db passowrd]