function createQR($url,$s ='200',$er='L',$b='0') { $url = urlencode($url); return 'TAG'; } echo createQR('http://www.yourdomain.com',200);