Hi! I use PHP TMDB API with this:
public function upcomingMovies($page=1) { return $this->_call('movie/upcoming', 'page='.$page); }
This shows all movie on first page in upcoming movies.
How can I do, show the second, 4th, or 10th movie on the page?
找不到电影或节目?登录并创建它吧。
Alvaro Octal 的回复
于 2015 年 03 月 02 日 2:46上午
by iterating over whatever that function returns to you, surely an array
$movies = upcomingMovies($pageYouWant);
print_r ($movies[$movieYouWant]);
anyway, I recommend you to update the wrapper, I was improving some things, as the documentation, some refactor etc. https://github.com/Alvaroctal/TMDB-PHP-API