I have a web form and login if you added Latté and POST using JSON ...
$.ajax({ type: "POST", url: "http://"+document.domain+"/includes/rpc.php", data: {method:"add_item",item:item}, dataType: "json", timeout: 10000, success:......
item will display the value Latté Latté, and the corresponding JSON Latt\u00e9 , which the browser interprets as Latté . Effectively, this script is a WYSIWYG editor, so you enter the text you return. Anyhue, if I update the text, it is pulled from mysql and issued as Latté? . So, I assume MYSQL is not the correct sort?
Additional information - database editing request
UPDATE menu_items SET description = 'Latté' WHERE item_id = '742'
JSON response
{"description":"Latt\u00e9","id":"#recordsArray_742"}
source share