When I inserted the statement as:
`
<?php while (next_album()): ?>
"><?php printAlbumTitle(); ?> |
<?php if(next_album()) { echo " | "; }?>
<?php endwhile; ?>
`
it printed an endless navigation list (browser crash, oops)
How would I write that correctly, so it inserts a | only if there is another album?
This I know I wrote incorrectly, but improving on understanding..
`
<?php while (next_album()): ?>
"><?php printAlbumTitle(); ?> |
<?php if(next_album()) { echo " | "; }?>
<?php else(next_album()) {echo 'null' };} ?> <?php endwhile; ?>
`
Thanks for your help!