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 replies (on page 1 of 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

Can't find a movie or TV show? Login to create it.

Global

s focus the search bar
p open profile menu
esc close an open window
? open keyboard shortcut window

On media pages

b go back (or to parent when applicable)
e go to edit page

On TV season pages

(right arrow) go to next season
(left arrow) go to previous season

On TV episode pages

(right arrow) go to next episode
(left arrow) go to previous episode

On all image pages

a open add image window

On all edit pages

t open translation selector
ctrl+ s submit form

On discussion pages

n create new discussion
w toggle watching status
p toggle public/private
c toggle close/open
a open activity
r reply to discussion
l go to last reply
ctrl+ enter submit your message
(right arrow) next page
(left arrow) previous page

Settings

ต้องการให้คะแนนหรือเพิ่มรายการนี้ไปยังรายการหรือไม่

เข้าสู่ระบบ