I am writing a PHP site. On the page there is a block "Continue / Hide" text. I wrote this like this:
<div id="myText"> Мой текст</div> <p id="listSwitch" class='host_js'>Продолжать...</p> <script type="text/javascript"> $(document).ready(function () { $('#myText').fadeOut(0000); $('#listSwitch').toggle(function () { $('#myText').fadeIn(1000); $(this).text('Скрыть') }, function () { $('#myText').fadeOut(1000); $(this).text('Продолжать...') }) }); </script> Only I added this code directly to http://localhost/phpmyadmin/ to my database. Tell me how you can make it so that I can add the code directly from the admin. Just so that every time I would not write it with my hands, well, maybe it could be put through a button.