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,437
  • 2
  • 14
  • 33
Allen
  • 660
  • 4
  • 13
  • 29

0 Answers0