RE: escaping quotes

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

 



> Hi Guys
> 
> Really simple question. How do I change the following:
> 
> print("value='" . $attributes["messageSubject"] . "'");
> 
> to have double quotes around the subject field instead. i.e.:
> 
> print("value="" . $attributes["messageSubject"] . """);
> 

Simple:

Print ("value=\""{$attributes['messageSubject']}\"");

HTH,

Mikey

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