Re: text with $

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

 



hi 

On 5/9/05, Martín Marqués <martin@xxxxxxxxxxxxxxx> wrote:
> I have a text variable that contains "$" symbols, that when I pass it out PHP
> thinks that the "$" mean that a variable name comes right after.

use this

$$text = "$text";


> 
> I tried escaping the "$" put with no luck.
> 
> Is there something I can do?
> 
> --
>  09:21:28 up 37 days, 17:45,  1 user,  load average: 2.54, 2.04, 1.50
> -----------------------------------------------------------------
> Martín Marqués        | select 'mmarques' || '@' || 'unl.edu.ar'
> Centro de Telematica  |  DBA, Programador, Administrador
>              Universidad Nacional
>                   del Litoral
> -----------------------------------------------------------------
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
> 


-- 
bala> balachandar muruganantham
blog> lynx http://chandar.blogspot.com
web> http://www.chennaishopping.com

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