I now know that you can enter data into an entry's field by using $event->params['entry']->getContent()->handle
But let's say I have a foreach loop and I want to enter each line into an entry that is a table field. So for example:
foreach ($apigrab['properties'] as $specs) {
$event->params['entry']->getContent()->specs == ??
}
Obviously each table heading has it's own handle and I don't imagine specs.handle would work in this case, and also how would you prevent it from just overwriting the same line over and over again? Would I have to count how many first and tell it specifically where to go?
Thanks in advance.