Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong code in readme file #8

Closed
JeroenDelbroek opened this issue Jun 12, 2013 · 2 comments
Closed

Wrong code in readme file #8

JeroenDelbroek opened this issue Jun 12, 2013 · 2 comments

Comments

@JeroenDelbroek
Copy link

Hello,

The code in the readme file about the search function is wrong.
If I use :

$searchTitle = $tmdb_V3->searchMovie('$title');

its searching for movies with the title "$title".
The code above should be replaced with:

$searchTitle = $tmdb_V3->searchMovie($title);

The title variable isn't between quotes anymore, and thus looking for movies with their title equal to the entered value in $title.

I hope my explanation is clear.

Regards,

Jeroen

@Naturaldoc
Copy link

I ran into the same issue. Took me a while to track it down.

@pixelead0
Copy link
Owner

Thank you very much for their comments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants