Fairly simple function.
Just change the $DATA variable to whatever you want to request a QR image via Google Charts.