Hi,
I am trying to figure this out. I know it is a combination of quotes/double quotes but I haven't gotten it to work yet. All the variables are set earlier in the script, and the links work fine when run, just the image links are broken.

echo "<TD><LI><A href=$dirpath/$filename>$filename";
echo "<IMG SRC '"$dirpath/$filename"' WIDTH = 200 BORDER = 0></A></TD>";

thanks,
Chuck

    try

    echo "<TD><LI><A href=$dirpath/$filename>$filename";
    echo "<IMG SRC '".$dirpath."/".$filename."' WIDTH = 200 BORDER = 0></A></TD>";
    

      maybe you need an equal sign before the src variables?

      <IMG SRC '"$dirpath

      should be

      <IMG SRC='"$dirpath

      try

      <?
      echo "<IMG SRC=\"".$dirpath."/".$filename."\" WIDTH = 200 BORDER = 0></A></TD>";
      ?>
      
        Write a Reply...