The Movie Database Support

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 svar (på sida 1 av 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

Kan du inte hitta en film eller tv-serie? Logga in för att skapa den.

Globala

s fokus på sökrutan
p öppna profilmenyn
esc stäng ett öppet fönster
? öppna tangentbordsgenväg fönstret

På mediasidor

b gå tillbaka (eller till förälder när det är tillämpligt)
e gå till redigerings sidan

På tv-säsongssidor

(höger pil) gå till nästa säsong
(vänster pil) gå till den föregående säsongen

På tv-avsnittssidor

(höger pil) gå till nästa avsnitt
(vänster pil) gå till föregående avsnitt

På alla bildsidor

a öppna lägg till bild fönstret

På alla redigeringssidor

t öppna översättnings väljaren
ctrl+ s skicka förmulär

På diskussionssidor

n skapa ny diskussion
w växla sedd-status
p växla offentligt/privat
c växla stäng/öppna
a öppna aktivitet
r svara på diskussionen
l gå till det senaste svaret
ctrl+ enter skicka ditt meddelande
(höger pil) nästa sida
(vänster pil) föregående sida

Inställningar

Vill du betygsätta denna artikel eller lägga till den i en lista?

Logga in