Jump to content

Whitespace in path component. Use %20 in place of spaces


Doug

Recommended Posts

I've been trying to solve this for the past 2 days! Please help.

 

I get this message while trying to validate the code.

 

bad value %20images/image_name%20 for attribute src on element img: Whitespace in path component. Use %20 in place of spaces.

 

There is no white spave in the lines below. OR is there? I have put %20 in all white space

if (is_file(MM_UPLOADPATH . $row['picture']) . filesize(MM_UPLOADPATH . $row['picture']) > 0){echo'%20<a href="pictures.php">%20<img src="%20' . MM_UPLOADPATH . $row['picture'] . '%20" alt="sevenoaks latest pic" style="width:75px; maxheight:110px; margin:5px; padding:5px;"></a>';

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.