How to fix a string of php code?

There is such code:
"InfoText": [
 "<button type="submit" tabindex="3" class="button login">123</button>",
 "BottomInfoHtmlText": [
 "Powered by \u003Ca href=\"https:\/\/\/webmail-client\" target=\"_blank\"\u003EAfterlogic WebMail Pro\u003C\/a\u003E",

But gives this error 5c9a3d2f9e523800544175.png

Please help to tweak the line button in the InfoText to work
March 19th 20 at 08:41
2 answers
March 19th 20 at 08:43
try to escape
"<button type=\"submit\" tabindex=\"3\" class=\"login button\">123</button>",

or use the two options the quotes, double and single
"<button type='submit' tabindex='3' class='button login'>123</button>",
Thank you dear people - Earline.Kle commented on March 19th 20 at 08:46
March 19th 20 at 08:45

Find more questions by tags PHP