Is there a way to generate an HTML file using a PHP script that has a built-in SVG where the SVG itself dynamically generates a PHP script?
Basically, I want to display dynamically generated SVG image to the client, but <embed>, <object>and <iframe>only apply to outside sources, while the PHP generates HTML-only the current page (rather than external sources))
Also, is there a possible Javascript solution where every time I add SVG elements to the current DOM?
source
share