not sure what im doing wrong (trying to code stream status list - twitchtv API)

ive been trying to work this out using php since it seems to have the most info online to help me…and im pretty new to coding, this is what I have so far…

my php file http://pastebin.com/CU6hkDP0 <— this is saved as “streamstatus.php” and uploaded to my server along with my online/offline.png

I am trying to insert the code using

<img src="http://mydomain.net/home/esgaming/public_html/streamstatus/streamstatus.php?stream=croninlol/>

after doing so I get a broken image

really not sure what im doing wrong? -_-

I am not sure what you want to do with this code ?
As this is not an image but you do not need your root path in your code.

<img src="http://mydomain.net/streamstatus/streamstatus.php?stream=croninlol>
Sponsor our Newsletter | Privacy Policy | Terms of Service