My code is:
<!DOCTYPE html>
<?php
$title = urlencode($_GET['title']);
$json=file_get_contents("https://api.themoviedb.org/3/search/movie?api_key=###&query=$title");
$details=json_decode($json);
if($details->Response=='True')
?>
<?php echo $details->title;?>
<?php echo $value->release_date; ?>
No reponse??? please help me out. i could not get any help from https://github.com/php-tmdb/api/tree/master/examples
Can't find a movie or TV show? Login to create it.
Want to rate or add this item to a list?
Not a member?
Reply by Travis Bell
on September 18, 2017 at 3:43 PM
I am not familiar with PHP so I won't be much help but if you are in fact using the php-tmdb library, you'll probably have better luck posting on their issues page.
Unless someone else sees this who is familiar with PHP...