Closed JeroenDelbroek closed 10 years ago
Hello,
The code in the readme file about the search function is wrong. If I use :
$searchTitle = $tmdb_V3->searchMovie('$title');
its searching for movies with the title "$title". The code above should be replaced with:
$searchTitle = $tmdb_V3->searchMovie($title);
The title variable isn't between quotes anymore, and thus looking for movies with their title equal to the entered value in $title.
I hope my explanation is clear.
Regards,
Jeroen
I ran into the same issue. Took me a while to track it down.
Thank you very much for their comments.
Hello,
The code in the readme file about the search function is wrong. If I use :
$searchTitle = $tmdb_V3->searchMovie('$title');
its searching for movies with the title "$title". The code above should be replaced with:
$searchTitle = $tmdb_V3->searchMovie($title);
The title variable isn't between quotes anymore, and thus looking for movies with their title equal to the entered value in $title.
I hope my explanation is clear.
Regards,
Jeroen