How to use variable content as data for the qr generator? #284
-
So, i have list of php variables that contain information (name, surname, something like that) and i need the generator to use the content of those variables to generate a qr code. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hey, the QR generator has no concept of what the input or output data looks like - not even the character encoding. You have to make sure that the data you hand over can be processed by the receiving application; |
Beta Was this translation helpful? Give feedback.
Of course you can, but it's a good idea to use external CSS to style instead, see the authenticator example:
php-qrcode/examples/authenticator.php
Lines 75 to 122 in 99f17b6