$(function() {
"use strict";
$('#ydurum').select2({
placeholder: "",
allowClear: true
});
});

değişkeni php de tanımla