X-editable not updating value in database-open source projects vitalets/x-editable
I am using X-Editable plugin in my php application to update fields of my table and use POST file to update the database.
Here is form code:
Here is the X-editable JS I am using at the bottom of the page:
jQuery(document).ready(function() {
//initializes all global values and plugin essentials
FormEditable.init();
//below function is only initialized on one field for debug purposes
$(function(){
$('#name').editable({
url: 'post.php'
});
});
});
Here is the contents of my Post.php file: