How do I store the qrcode generated using phpqrcode into a db instead of in a filepath?
I need to store the qrcode (generated using phpqrcode) into a db instead of placing them in a filepath. The examples given in the sourceforge project ( http://phpqrcode.sourceforge.net/examples/ ) speaks only about storing them in a physical file path. I dont want to store them in a file path. Please advice. QRcode::png($codecontent, $filepath); Based on the discussion in comments with the OP, and the question as precised - how to generate the QR code as ASCII - this topic is covered in the examples for phpqrcode: http://phpqrcode.sourceforge.net/examples/index.php?example=702 $codeContents =