How to avoid undefined index errors on a function to detect undefined indexes in PHP?

前端 未结 0 1497
心在旅途
心在旅途 2020-12-06 09:21

Okay, so I wrote a function to test if an array key has a value and return it, or else, return a value from the POST array, the problem is, since some of the are undefined,

相关标签:
回答
  • 消灭零回复
提交回复
热议问题