I've just downloaded this api, and been playing around with it. I've put the code (which is in the examples) to show emblem, in a seperate php file called showEmblem.php. When I include that in my index.php, making sure the db works and the BattlenetArmory.class.php is included too, it shows a broken image and I can't even open up my page source. Any advice on how to do this properly?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Make sure that there are no trailing whitespaces in the php file. That will break the image. Also make sure that the very last characters in the file is ?>
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello guys
I've just downloaded this api, and been playing around with it. I've put the code (which is in the examples) to show emblem, in a seperate php file called showEmblem.php. When I include that in my index.php, making sure the db works and the BattlenetArmory.class.php is included too, it shows a broken image and I can't even open up my page source. Any advice on how to do this properly?
Make sure that there are no trailing whitespaces in the php file. That will break the image. Also make sure that the very last characters in the file is ?>