[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-db
Subject:    Re: [PHP-DB] width&heigh
From:       "=?ISO-8859-1?Q?Andr=E9s_G._Monta=F1ez?=" <andresmontanez () gmail ! com>
Date:       2007-03-30 14:24:29
Message-ID: 652305240703300724r6cc681ebt12859bd7a46ea75c () mail ! gmail ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic