I started looking for libraries to generate qr codes and I came across this: link , it seemed easy to apply and so I opted for it (and for being in php).
The problem is that when I generate the code the answer I get is this:
Anyonewhoisalreadymorefamiliarwiththelibraryorhassomeideaofwhytheqrcodeisnotbeingdisplayedcorrectlywouldyouknowhowtoarrangeit?
DidIapplysomethingwrong,Ineedtoactivateaspecificplug-in,somethinglikethis?
Followthecodesbelow.Thanksforanyhelp
<!DOCTYPEhtml>
<metacharset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<title>Teste Qr</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<h1>
É pra ter um QR Code logo abaixo ;)
</h1>
<img src="getCode.php" alt="qr code">
And the generator file:
<?php
require_once( 'src/QrCode.php' );
use Endroid\QrCode\QrCode;
$qr = new QrCode();
$qr
->setText( "Hello There" );
->setSize( 200 );
->Render();
? >