I'm using rottentomatoes API and Would like to change the title to uppercase but it works just a few Movies not for all,
foreach ($movies as $v) {
$name = strtoupper($v->name);
}
the $movies has an json code like
{
"id": 770672122,
"name": "Toy Story 3",
}
I have a list of 43 items and just change the name for the first 5 items and not for all what happen with the rest? there a way to understand why thing is happend? How can I change the value for all data? Thanks