note 78181 added to function.settype
| From: | kinatalegends at web dot de | Date: | Tue, 02 Oct 2007 10:10:14 +0000 |
| Subject: | note 78181 added to function.settype | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-130978@lists.php.net to get a copy of this message | ||
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^^
----
Server IP: 217.160.72.57
Probable Submitter: 80.152.175.254
----
Manual Page -- http://www.php.net/manual/en/function.settype.php
Edit -- https://master.php.net/note/edit/78181
Del: integrated -- https://master.php.net/note/delete/78181/integrated
Del: useless -- https://master.php.net/note/delete/78181/useless
Del: bad code -- https://master.php.net/note/delete/78181/bad+code
Del: spam -- https://master.php.net/note/delete/78181/spam
Del: non-english -- https://master.php.net/note/delete/78181/non-english
Del: in docs -- https://master.php.net/note/delete/78181/in+docs
Del: other reasons-- https://master.php.net/note/delete/78181
Reject -- https://master.php.net/note/reject/78181
Search -- https://master.php.net/manage/user-notes.php