Sola, mrpowless tell you to UNCOMMENT/DELETE two lines "//" before $iResPerPage. The lines means for Php Script "Thats a comment" and anything after the lines is unreadable. After remove the two lines - the php script is able to read the variable ($iResPerPage = 5;) and then you will see the five events of your home page.
By the way: All thanks to mrpowless, I just explained his idea. :)
By the way: All thanks to mrpowless, I just explained his idea. :)