Hello Sean,

oh i must correct myself ;)) .....

or try to use this:
print "<img src=\"".$row["foto"]."\" width=\"104\" height=\"137\">";
or just
print "<img src=\"".$row["foto"]."\" width=104 height=137>";

looks like u have error here:
print "<img src=\"" . $row["foto"] . "" width='104' height='137'\">";
                                      ^                         ^^
^ - use \ before "
^^- no need to use both \ and " remove those two characters

or try this

your php
?>
<img src="<? echo $row["foto"];?>" width=104 height=137>
<?
your php

-- 
Best regards,
 Martin                          mail   [EMAIL PROTECTED]
                                 mobile +421.907.303.393
                                 icq    34358414
                                 www    http://www.corwin.sk

PGP key fingerprint  21365ca05ecfd8aeb1cf19c838fff033

"In those days spirits were brave, the stakes were high, 
 men were real men, women were real women and small furry 
 creatures from Alpha Centauri were real small furry creatures 
 from Alpha Centauri."

                                        by Douglas Adams

Wednesday, January 8, 2003, 8:55:08 PM, you wrote:

SB> Ezequiel Sapoznik wrote:
>> I am having a parse error in the following sentence:
>> 
>>   print "<img src=\"" . $row["foto"] . "" width='104' height='137'\">";
>> 

SB> it would help if you posted the actual error message !

SB> but try this ...

SB> print '<img src="' . $row["foto"] . '" width="104" height="137">';

SB> or

SB> print "<img src=\"" . $row["foto"] . "\" width='104' height='137'\">";

SB> -- 

SB> Sean


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

Reply via email to