Im using Drupal 7, and I am trying to make a slide show with a numbered pager like the one shown in this page. I added PHP code in Views, thinking I could simple put PHP code, but the problem is that it is not producing the expected result.
I used this code, which is supposed to print "1 2 3 4", and that instead prints "1 1 1 1."
$i = 0; $i++; echo $i;
In this code I tried using one of the variables, and I think I am on the right track with this one, but it prints "10 9 8 7," while I want it prints "1 2 3 4."
$i = 0; $i = $row->field_image; echo $i;
I know that this is probably something simple, but I can't figure out how to save my life; any help is greatly appreciated.