PHP Help please!
-
Hi,
Trying to combine a couple snippets of code and it breaks the page – see below. How can I make that work?
I’m pathetic with PHP so any help would be appreciated.
Thanks!
<?php if ( is_user_logged_in() ) { //This Breaks the page <?php $teaser = get_post_meta($post->ID, 'teaser-video', true); if ($teaser) {?> Teaser Logged In <?php } else { ?> No Teaser Logged In <?php } ?> } else { echo 'Not Logged In'; }; ?>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘PHP Help please!’ is closed to new replies.