Question: PHP CODE QUESTION Thank you Create a PHP script which checks whether the input number is even or odd. If it's even, print X is
PHP CODE QUESTION

Thank you
Create a PHP script which checks whether the input number is even or odd. If it's even, print "X is even.", and if it's odd, print "X is odd.", where X is the input value. If the input value is either 0 or a negative number, the program should instead print "The input value is invalid!". Tip: A number is even if its remainder when divided by two is 0. The form sending the number is as follows:
Example output: 3 is odd
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
