Database add a new field "qr_exist" tynyint(1) in tbl_user_master. (1 mean already got QR code).
Then upload "phpqrcode" zip file to Controller folder and extract the zip file.
https://www.dropbox.com/s/1sn68ln2c5fahdk/phpqrcode.zip?dl=0
Note : this "phpqrcode" folder must saved in the same directory as your code file.
Then add this code at top of page :
Then add this code to create QR code image :
Then show QR code image by code below :
Posted by Zac1987 on
04 April, 2021
0 comments