Hi all,
I have a fairly limited understanding of how objects work exactly, but basically I have:
$response[] = $html->data->identifier;
Which I would think stored the values as an array, but when I try to add something to that array with:$response[] = array('quantity' => $itemsinfo['qty']);
I get the error "[] operator cannot be applied to string". This confused me since the $itemsinfo['qty'] is an array element, so I think this is because the array was created from an object?