I'm building an admin panel for some website, and I want to add the option to publish a new page. I want to build some text editor that will allow the publisher add HTML/PHP code.
I tried to insert text into dababase table and than print that:
EOF;
echo "1";
echo <<<EOF
But the output is "EOF; echo "1"; echo <<<EOF"
How can I add PHP/HTML code into my database table?