javascript - strange json_encode result returned in ajax callback -


what did

while ($obj = $post_items->fetch_object()) {      echo json_encode($obj);  } 

and console callback, seem working found data isn't correct. object have property post id , post_id, see below

enter image description here

how can be?


Comments

Popular posts from this blog

node.js - StackOverflow API not returning JSON -

python - Subclassed QStyledItemDelegate ignores Stylesheet -

sql server - TFS 2012 TF255062 Error after removing 'Active Directory' Role -