• Hi,

    I’ve got a blog with the following code for rss:

    <a href="<?php bloginfo('rss2_url');?>&cat=<?php echo $cat; ?>" title="<?php _e('Syndicate this site using RSS'); ?>">rss</a>

    this gives a “Catchable fatal error” with php 5. If i remove the $cat; reference, it works fine. my poor coding showing me up no doubt!

    What can i do to fix this issue?

    thanks,

    jeff

  • The topic ‘php5 doesn’t like echo $cat; – alternative?’ is closed to new replies.