PHP Program to Find Number is Even OR Odd

In this post I am going to describe the basic PHP Program which tell us weather the given number is Even or Odd. The number which is completely divisible by 2 are known to be Even and rest of all are known to be even.
	$number= $_POST['number'];
		echo "The number is EVEN";
		echo "The number is ODD";
		<title>ODD OR EVEN</title>
		<form action="" method='POST'>
		<label for="number">Please Enter a Number</label>
		<input type="text" name="number" value="">
		<input type="submit" value="Done" name="submit">

Program Output:

Stay tuned for the PHP Magento, WordPress and Magento2 latest tutorial and updates, Hope you enjoyed reading, if you need the professional Magento Development / PHP we can help you, just Click on the Link and send me your requirements.

Please Like the Post on Facebook or Google+.