无法正确输出(在PHP中显示来自MYSQL数据库的图像)

I have created a simple display website for my Kodi database. The data for this site comes from a MySQL database.

When I use this code: (to display a cover from a Album)

<td><?php echo '<img src='.$row['url']," width='150' height='175' />"; ?>

I'll get an result of:

<img src="smb://10.0.0.61/Media/Muziek/Albums/Bryan" adams="" mtv="" unplugged="" [live]="" folder.jpg="" width="150" height="175">

As you can see the result has been hacked up and the retrieval is not possible. I was wondering what additional code is needed to retrieve the complete path and display the image. The correct path is:

smb://10.0.0.61/Media/Muziek/Albums/Bryan Adams/MTV Unplugged [Live]/Folder.jpg

Check your syntax here, change this..

<td><?php echo '<img src='.$row['url']," width='150' height='175' />"; ?>

To this..

<td><?php echo '<img src="'.$row['url'].'" width="150" height="175" />'; ?> </td>

Also, try removing the spaces from folder names, change it for a - or a _ instead. If you don't want to change the folder names, you can also encode them. Check this post for more info