I have what I think is a simple question but for some reason using any type of ararys won't work, at least as I tried.

I have two or three short codes I want to rotate using php but I'm not sure how to get only one to show at a time and what options I have for rotating.

Here are the lines of code

<?php echo do_shortcode('[content 1]'); ?>
<?php echo do_shortcode('[content 2]'); ?>

I just want one of them at a time to show up on the page. Do you know how I can do that?

Thank you for your help,

Jeff