Re: Wath´s wrong?

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

 



Jay Blanchard wrote:
[snip]
I have a var that gets the follow string:

$var="R$<font color=\"".GE_COR_VALOR."\">".number_format($con->result['preco_v'],2,",",".")."</font>";

When a print it i receive the follow result:

R$&nbsp;&nbsp;<font color="#FF0000">150,00</font>

Someone knows wath´s happening here?
[/snip]

Yes, you printed out your $var. Did you expect something else?
I think he's referring to the two &nbsp;s which magically appeared before the <font> tag.

--Daniel

--
Sparse - a new way to write MySQL-based programs with little to no actual programming. Save yourself time and effort!
http://sparse-php.sourceforge.net/

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux