Re: Problem with HTML Text box and PHP variable.

From: Date: Fri, 12 Sep 2003 00:14:51 +0000
Subject: Re: Problem with HTML Text box and PHP variable.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162352@lists.php.net to get a copy of this message
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

« previous php.general (#162352) next »