how to change background colour in echo

后端 未结 3 2055
旧时难觅i
旧时难觅i 2021-01-28 11:44

i am trying to apply the background color in echo using an inline style but it is not applying background color in however changes only the text color. i want to change backgrou

3条回答
  •  滥情空心
    2021-01-28 12:01

    Try like

    echo "

    record number: ".$rec_num. "


    ";

    You have to end ' single quote after the background-color style.

提交回复
热议问题