skip to Main Content

How to properly show generated SVG from PHP

I am generating svg qr codes via php and getting result in php file the following code: generate-svg.php <? include("../qrcode/qrlib.php"); QRcode::svg('Example'); ?> And I see in HTML code in browser: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">…

VIEW QUESTION
Back To Top
Search