note 4606 deleted from Strings by torben

From: Date: Mon, 14 Aug 2000 02:10:15 +0000
Subject: note 4606 deleted from Strings by torben
Groups: php.notes 
Request: Send a blank email to php-notes+get-1806@lists.php.net to get a copy of this message
When you're expanding variables inside a double-quoted string, how do you tell PHP that a variable name has ended? Example: <pre> $Hello = "Hello"; echo "$HelloWorld"; </pre> The goal of the example is to print "HelloWorld". The above snippet would print nothing, however, since $HelloWorld is not a variable.

« previous php.notes (#1806) next »