Re: width&heigh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The HTML attributes must be encloesd in double quotes (at least in xHTML).

So, the code should be

<td width="90" height="70">
<?php echo "<img src=\"/album/img/\"".$photoFileName[2]."\" width=\"90\"
height=\"70\" border=\"0\" />"; ?>
</td>

Note the \" for escaping the double quotes in the double quotes defined string.


--
Atte, Andrés G. Montañez
Técnico en Redes y Telecomunicaciones
Montevideo - Uruguay

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux