How to fix a string of php code?

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

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
Solution
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
Solution

Find more questions by tags PHP