0
I would like to make a page in HTML, and use a PHP page to edit the text of the HTML page (as if it were a Frontend
).
Is there any PHP code for this?
In my example the HTML page to be edited is the buysingle.html
(In case, I will use the content of the page buysingle.html
to carry inside a modal
that I created to buy music.)
I wanted a PHP page that had the code of the HTML page always inside a text box, and that I could edit and save.
Thank you, from now on.
Code of the text file to be edited:
<div id="albumtrack1">
<a style="color:lightgrey; text-decoration: none; -webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;"><br>
Buy "I Don't Wanna Your Love"
</a><br>
<p style="color:grey; text-decoration: none; -webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;">You can not end this purchase. Music was not yet released.</p>
</div>
<div id="albumtrack2">
<a style="color:lightgrey; text-decoration: none; -webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;"><br>
Buy "Pure"
</a><br>
<p style="color:grey; text-decoration: none; -webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;">You can not end this purchase. Music was not yet released.</p>
</div>
<div id="albumtrack3">
<a style="color:lightgrey; text-decoration: none; -webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;"><br>
Buy "Sleep Close to Me"
</a><br>
<p style="color:grey; text-decoration: none; -webkit-touch-callout: none;
-webkit-user-select: none;
-khtml-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;">You can not end this purchase. Music was not yet released.</p>
</div>
Please show us what you have tried and or at least the code of the html page.
– touchmx
I still haven’t been able to try anything, because I searched and couldn’t find any code that could do it.
– Hugo Marcelo
I edited the Question and Entered the Code of the HTML Page to be edited by PHP.
– Hugo Marcelo