{"id":7776,"date":"2015-10-25T01:41:41","date_gmt":"2015-10-25T01:41:41","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/10\/25\/x-editable-not-updating-value-in-database-open-source-projects-vitalets-x-editable\/"},"modified":"2015-10-25T01:41:41","modified_gmt":"2015-10-25T01:41:41","slug":"x-editable-not-updating-value-in-database-open-source-projects-vitalets-x-editable","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/10\/25\/x-editable-not-updating-value-in-database-open-source-projects-vitalets-x-editable\/","title":{"rendered":"X-editable not updating value in database-open source projects vitalets\/x-editable"},"content":{"rendered":"<p>I am using X-Editable plugin in my php application to update fields of my table and use POST file to update the database.<\/p>\n<p>Here is form code:<\/p>\n<table id=\"restaurant\" class=\"table table-bordered table-striped\"><\/table>\n<p>Here is the X-editable JS I am using at the bottom of the page:<\/p>\n<pre><code>\njQuery(document).ready(function() {\n\n\/\/initializes all global values and plugin essentials\n    FormEditable.init(); \n\n\/\/below function is only initialized on one field for debug purposes\n    $(function(){\n        $('#name').editable({\n            url: 'post.php'\n        });\n    });\n});\n\n<\/code><\/pre>\n<p>Here is the contents of my Post.php file:<\/p>\n","protected":false},"excerpt":{"rendered":"<p>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 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7776","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7776","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7776"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7776\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7776"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7776"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7776"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}