Return variable with the highest value?

后端 未结 1 636
别那么骄傲
别那么骄傲 2021-01-19 06:03

I have 3 variables: $num1, $num2, and $num3. Each represent the number of rows a table column has.

I want to find which variable has the highest variable, so I can u

1条回答
  •  爱一瞬间的悲伤
    2021-01-19 06:46

    $highest = max($num1, $num2, $num3);
    

    0 讨论(0)
提交回复
热议问题