PHP Programs

Please click on 1-2 Ads to keep this website's Study Material FREE and regularly Updated.

Program 32: Write a PHP program to calculate area of rectangle.


<!DOCTYPE html>
	<title>PHP Programs</title>
		$width = 10;
		$height = 20;

		$AREA_OF_RECTANGLE = $width * $height;

		echo "<br/>";

		echo "Area of Rectangle  ";

If you have any suggestion or found any error in the above program, then do let us know at [email protected] or just comment below.