I'm very new to PHP and this is throwing me for a loop.
So I understand some basic PHP IF statements, such as "if contains" "more than" but when it comes to my example; I'm a little confused.
The code below is for the SEO Title Tag. Currently it just echo's the following example:
The Hobbit Poster #1 - Movie Posters
How would I go about creating an IF Statment where if movie_name and poster_name doesn't exist then it just echo's "Movie Posters"
<title><?php echo $movie['movie_name']; ?> <?php echo $poster['poster_name']; ?> - Movie Posters</title>