note 78181 rejected from function.settype by ezyang

From: Date: Wed, 03 Oct 2007 01:22:22 +0000
Subject: note 78181 rejected from function.settype by ezyang
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-131005@lists.php.net to get a copy of this message
Note Submitter: kinatalegends at web dot de ---- Hello, I want to write a string with a variable in it into a textfile, but the string converts the variable into A VARIABLE and not into a text^^ the variable should be shown as a text and not as a variable in the textfile... ...Example: <?php [...] //open the textfile, etc $string="$variable name is George"; [...] //writing it into a textfile, etc ?> Textfile: Should show: $variable name is george But shows: name is george Can you help me? I think i can do something with this function^^

« previous php.notes (#131005) next »