This is probably REALLY easy for most of you, but I'm a newbie.
I have a piece of PHP code that works fine...
<?php if((get_post_meta($post->ID, "intro-text", true))) { ?>
<?php the_field('intro-text'); ?>
<?php } ?>
What I want to do is change it to an "if/else" statement (something simple like "else echo 'sorry no intro text'").
I tried modifying the if/else statements on other websites, but it's generating errors. Can someone please tell me the correct format?
Thank you in advance.