I have set up a photo gallery and would like to resize the width for each photo displayed! However, I cant seem to get the coding right!
Here is the snippet of code:
//Outputs the image and other data Echo "<img src=/photos/".$info['photo'] 'width=200' . "> <br>"; Echo "<b>Description:</b> ".$info['name'] . "<p> <hr>" ;
As you can see I have tried putting the width =200 in many different ways and before and after the . but it doesnt seem to work. This is the error I get with the current code.
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/cyberwor/public_html/user_photogallery.php on line 85
Does anyone know why I cannot get this to work?
Your help would be gratefully recieved!