A
Anonymous
Guest
Hi there,
Trying to parse an image using the image id .
The first line works and shows the image URL: https://www.kiva.org/img/2992239.jpg
The second line does not show the image and I am guessing that there is an error in the syntax. Could someone see it and make this work?
Thanks so much!
Sheaila
Trying to parse an image using the image id .
The first line works and shows the image URL: https://www.kiva.org/img/2992239.jpg
The second line does not show the image and I am guessing that there is an error in the syntax. Could someone see it and make this work?
Thanks so much!
Sheaila
Code:
$output.= "Image Source: http://www.kiva.org/img/" .$loans['image']['id']. ".jpg/>";
$output.= "<img src='http://www.kiva.org/img/'".$loans['image']['id'].".jpg/>";