What also works is this:

 print 'value="'. $foo['bar'] . '"';

Read the manual section on strings:

 http://php.net/types.string

Regards,
Philip

On Thu, 27 Jan 2005, Giles wrote:

> Thanks, that works great.
> 
> Knew that worked for JavaScript but didn't know it worked for PHP.
> 
> > print("value="\" . $attributes["messageSubject"] . "\"");
> 
> Slight typo there:
> 
> "value=\"" . ...

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

Reply via email to