alla fine ho risolto così :
ma ho un' altra domanda:codice:$postsId = array(); foreach ($CategoryAddTable->getValues($categoryId) as $attributes ): array_push($postsId,$attributes['post_id']); endforeach;
devo inserire un if che all' ultimo array mi esegue una funzione,
come faccio???
Come si fa a conoscere l' ultimo array