The Movie Database-ondersteuning

Hi first of all thanks for your work and sorry for my bad english.

I'm not programmer but know some code.

Now I have a form that sends with post a variable to the query movie search in another php,and it show me the results with the posters in a table.

echo '' . '

3 antwoorden (op pagina 1 van 1)

Jump to last post

Hi trugulum78,

I am not 100% sure I understand your question but I think you're asking for a way to get the full show or movie info with the ID? The only way to do that is to query the full info method, i.e.

https://api.themoviedb.org/3/movie/550?api_key=###

Notice the 550. That is the ID. So you would have to iterate over each o the items you want the info for and do a request like above.

Does that make sense? Is that what you were asking?

No,is not that. I have this part clear. I have a modification of the script from pixelead0 in github. With a html form I send a variable with the name of the movie to another php page,here I collect the variable and use it in a search movie request,then it shows me a table with the posters of the movies from that search.
echo '' . '

Hi trugulum78,

The id is the the URL of movie. Ie. the ID of Fight Club is 550. It's the same as you're already using $movie->getID().

https://www.themoviedb.org/movie/550

Film of tv-serie niet gevonden? Meld je aan om deze toe te voegen.

Wereldwijd

s focus op zoekbalk
p open profielmenu
esc sluit een open venster
? open sneltoetsen venster

Op media pagina's

b ga terug (of ga naar bovenliggend item)
e ga naar beweken

Op tv-seizoenspagina's

(rechter pijl) ga naar volgende seizoen
(linker pijl) ga naar vorig seizoen

Op pagina's met tv-series

(rechter pijl) ga naar volgende aflevering
(linker pijl) ga naar vorige aflevering

Op alle afbeeldingspagina's

a open venster afbeelding toevoegen

Op alle bewerkte pagina's

t open vertaalmenu
ctrl+ s verstuur formulier

Op discussiepagina's

n start nieuwe discussie
w Verander kijk status
p privé of openbaar
c schakelen sluiten/openen
a open activiteit
r beantwoord discussie
l ga naar laatste antwoord
ctrl+ enter verstuur uw bericht
(rechter pijl) volgende pagina
(linker pijl) vorige pagina

Instellingen

Want to rate or add this item to a list?

Inloggen