php foreach object inside code example
Example 1: php loop object keys
echo $obj->name;
echo $obj->age;
Example 2: php loop through object
// Try edit message
const data = {
message: 'Hello world',
}
$('#msg').html(data.message)
console.log(data)