PHP Warning: Division by zero

后端 未结 8 1267
温柔的废话
温柔的废话 2020-12-20 14:46

I\'m learning php and built an experimental form-based calculator (also using html & POST method) that returns values to a table. The calculator is functional when I ent

8条回答
  •  难免孤独
    2020-12-20 15:09

    If a variable is not set then it is NULL and if you try to divide something by null you will get a divides by zero error

提交回复
热议问题