Do you mean you named a variable like $varia$le? I wouldn't do that. If you mean you have something like: "A text $tring with $ome dollar$"
Just put it in single quotes instead of double quotes. PHP doesn't evaluate what's inside single quotes.
'A text $tring with '.$variable.' dollar'
On May 9, 2005, at 8:23 AM, Martín Marqués 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.
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
-- Brent Baisley Systems Architect Landover Associates, Inc. Search & Advisory Services for Advanced Technology Environments p: 212.759.6400/800.759.0577
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php