note 101361 rejected from language.variables by danbrown

From: Date: Sun, 12 Dec 2010 16:09:36 +0000
Subject: note 101361 rejected from language.variables by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-174824@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 (#174824) next »