Solution:
Instead of $comment_text = $comment_row["comment"];
Use:
$comment_text = isset($comment_row["comment"]);
or
$comment_text = isset($comment_row["comment"]) ?? '';
or
$comment_text = $comment_row["comment"] ?? '';
or
$comment_text = $comment_row["comment"] ?? null;
NOTE: The idea is to check if the variable is empty and declare a default value.
0 Comments
Good day precious one, We love you more than anything.