May 6, 2015

Find maximum value from numbers using PHP.

$no = 5;
$no2 = 10;
$no3 = 6;
$maxVal = max($no,$no2,$no3);
echo $maxVal;

Result:
10

No comments:

Post a Comment

The Future of Technology: Emerging Trends to Watch in 2025

Introduction As we navigate through 2025, the technological landscape continues to evolve at an unprecedented pace. Innovations that once se...