Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author thaikolja

    (@thaikolja)

    That’s not surprising. imdb_connector_has_movie() is a function that checks whether a movie with the entered IMDb ID or title exists or not. It only returns a bool, either true or false. Since it’s not an array and the key “poster” doesn’t exist, §image_url is empty. That’s why the error. Use this code:

    $imdb_movie = imdb_connector_get_movie("tt1185418");
    $image_url = $imdb_movie["poster"];
    echo "<img src=\"$image_url\" />";
    Thread Starter herukrayz

    (@herukrayz)

    owhh, sorryy..
    i’m not expert in english T_T
    I got mistake when read the manual
    Thank’s for your support

    Plugin Author thaikolja

    (@thaikolja)

    No problem, that’s what this forum is for ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘poster, not return anything’ is closed to new replies.