Vail, Warren wrote:

Question: will the substitution for the variable $dins occur if surrounded by single quotes?

I could be mixing languages here, but I seem to recall a rule in one language about substituting variable contents only occurring between double quotes.


In PHP, no, variables will not be evaluated within single quotes. The original question was about HTML attributes, though.

--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

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



Reply via email to