note 101360 rejected from language.variables by danbrown

From: Date: Sun, 12 Dec 2010 16:09:31 +0000
Subject: note 101360 rejected from language.variables by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-174823@lists.php.net to get a copy of this message
Note Submitter: nadiritus at gmail dot com ---- $str = "my name is $name"; // included template $name = 'Johny'; // dynamically generated data print $str; //otput: my name is How can i declare and use $name after $str? Any ideas?

« previous php.notes (#174823) next »