0

Here are two lines of code that clearly have isset used in each one:

 $regs_text_message=(isset($this->regs_text_message) ? $this->regs_text_message: "");

 $user_text_message=((isset($regs_text_message) && $regs_text_message>"") ? $regs_text_message : $rows['regs_text_message']);

But I keep getting this PHP notice (for the 2nd line):

 PHP Notice:  Undefined index: regs_text_message 

Does anybody know what is going on here and how to stop getting these PHP notices?

Thanks

Manu Masson
  • 1,667
  • 3
  • 18
  • 37
Allen
  • 722
  • 4
  • 13
  • 31

0 Answers0