how?
| From: | elias | Date: | Thu, 03 May 2001 17:12:55 +0000 |
| Subject: | how? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-51224@lists.php.net to get a copy of this message | ||
hello.
i read from a text file a line like: "Key=$value"
so, i do like:
$lines = join('', file("myfile.txt"));
echo $lines;
// output= Key=$value
Now how can i replace the values in the $lines variables?
i want like:
$value = "test";
echo $lines;
and i want ouput like: Key=test
any idea?
-elias
http://eassoft.cjb.net