-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get Movie/TV/Person search page ? #58
Comments
you need to supply an array for foreach statement, instead you are requesting a key value.. try foreach ($result as $data) // then fetch the results here remember $result returns an array you can fetch within the foreach statement as $ data |
Hi @iBringit Thanks for your reply,
This code only show me the search result for the first page only from the API and I want to make a pagination on my website with each page show the results associated with the page number . |
How to get the pages for search so I can connect it to my URL&page=(the number of the search page) ?
I tried to edit this part but I got an error and the same results when I passed the Page number? could you please help me with this ?
The Error
Warning: Invalid argument supplied for foreach() in ...\controller\classes\config\Configuration.php on line 48
Thanks
The text was updated successfully, but these errors were encountered: