Re: Wath�s wrong?

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

 



Look at carefully, when i print my $var, two   are inserted into it.

Do you know why it´s happen?

"Matt Carlson" <saryon@xxxxxxxxxx> escreveu na mensagem 
news:20060526163443.53674.qmail@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> I think that one of the issues is that when you assign
> a variable using "" instead of '', it will
> auto-replace your variable names inline.  I don't
> know, but I think you should be escaping the $ before
> the <.
>
>
> --- Jo�o C�ndido de Souza Neto
> <joao@xxxxxxxxxxxxxxxxxxxxx> wrote:
>
>> Hi everyone.
>>
>> 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?
>>
>> Thanks.
>>
>> -- 
>> Jo�o C�ndido de Souza Neto
>> Curitiba Online
>>
>> -- 
>> PHP General Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>> 

-- 
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