Υποστήριξη για το The Movie Database

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 απαντήσεις(στη σελίδα 1 από 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

Δεν μπορείτε να βρείτε κάποια ταινία ή σειρά; Συνδεθείτε για να τη δημιουργήσετε.

Σε όλες τις σελίδες

s Εστίαση στη μπάρα αναζήτησης
p Άνοιγμα μενού προφίλ
esc Κλείσιμο ανοιχτού παραθύρου
? Άνοιγμα παραθύρου συντομεύσεων πληκτρολογίου

Στις σελίδες μέσων

b Επιστροφή στην προηγούμενη σελίδα(ή στην αρχική σελίδα όταν είναι εφικτό)
e Μετάβαση στη σελίδα επεξεργασίας

Στις σελίδες κύκλων σειρών

(Δεξιό βέλος) Μετάβαση στον επόμενο κύκλο
(Αριστερό βέλος) Μετάβαση στον προηγούμενο κύκλο

Στις σελίδες επεισοδίων σειρών

(Δεξιό βέλος) Μετάβαση στο επόμενο επεισόδιο
(Αριστερό βέλος) Μετάβαση στο προηγούμενο επεισόδιο

Σε όλες τις σελίδες εικόνων

a Άνοιγμα παραθύρου προσθήκης εικόνας

Σε όλες τις σελίδες επεξεργασίας

t Άνοιγμα επιλογέα μετάφρασης
ctrl+ s Υποβολή φόρμας

Στις σελίδες συζήτησης

n Δημιουργία νέας συζήτησης
w Ρύθμιση κατάστασης παρακολούθησης
p Ρύθμιση ως δημόσια/ιδιωτική
c Ρύθμιση ανοίγματος/κλεισίματος
a Άνοιγμα δραστηριότητας
r Απάντηση στη συζήτηση
l Μετάβαση στην τελευταία απάντηση
ctrl+ enter Υποβολή μηνύματος
(Δεξιό βέλος) Επόμενη σελίδα
(Αριστερό βέλος) Προηγούμενη σελίδα

Ρυθμίσεις

Θέλετε να αξιολογήσετε ή να προσθέσετε αυτό το στοιχείο σε μια λίστα;

Σύνδεση