Am working on array pagination. I am having some trouble forming equations. what I want is when $CurrentPage = 1 then $Start = 1, if $CurrentPage = 2 then $Start = 6, if $CurrentPage = 3 then $Start = 11, if $CurrentPage = 4 then$Start = 16 and so on..
How do I write the if else block ?
How about simply