PHP Help!
PHP Help!
- Started
- Last post
- 1 Response
- effour
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';
};
?>
- uan0
<?php...<?php ?