Menu

Can't get ShowEmblem to work

Robin
2014-04-27
2014-10-08
  • Robin

    Robin - 2014-04-27

    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?

     
  • Thomas Andersen

    Thomas Andersen - 2014-10-08

    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 ?>

     

Log in to post a comment.