At the moment I have a numbering system that brings back the following:
Using:
<?php echo $slide->counter; ?>
01 02 03 04 05
What can I add to the above php to get rid of the zero, so that it displays:
1 2 3 4 5
At the moment I have a numbering system that brings back the following:
Using:
<?php echo $slide->counter; ?>
01 02 03 04 05
What can I add to the above php to get rid of the zero, so that it displays:
1 2 3 4 5
This should work...
printf('%d', $slide->counter);