PHP Program to find sum of even index term

Prem Tiwari - - PHP Tutorials


This is a basic PHP Program to find sum of even index term. Below examples will help you in the better understanding of the basic concept of PHP programming language.

PHP Program of finding nth Delannoy Number

We are using the if…else statement to determine the number of the days in a current month. Copy the below code and execute it with the help of PHP compiler.

Output

8