note 123721 added to control-structures.if
| From: | linux dot gq at gmail dot com | Date: | Sat, 23 Mar 2019 14:40:51 +0000 |
| Subject: | note 123721 added to control-structures.if | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-210429@lists.php.net to get a copy of this message | ||
<?php
$myfile = fopen("test.txt", "w") or die("Unable to open file!");
//Open the file.
$txt = "Data\n"; // The data that you want to be written to the file.
fwrite($myfile, $txt); // Write the data to the file.
$txt = "Data 1\n"; // Another line of data to the file.
fwrite($myfile, $txt); // Write the extra data to the file.
fclose($myfile); // Close the file.
?>
----
Server IP: 208.43.231.9
Probable Submitter: 185.85.3.194 (proxied: 92.13.239.161)
----
Manual Page -- http://php.net/manual/en/control-structures.if.php
Edit -- https://master.php.net/note/edit/123721
Del: integrated -- https://master.php.net/note/delete/123721/integrated
Del: useless -- https://master.php.net/note/delete/123721/useless
Del: bad code -- https://master.php.net/note/delete/123721/bad+code
Del: spam -- https://master.php.net/note/delete/123721/spam
Del: non-english -- https://master.php.net/note/delete/123721/non-english
Del: in docs -- https://master.php.net/note/delete/123721/in+docs
Del: other reasons-- https://master.php.net/note/delete/123721
Reject -- https://master.php.net/note/reject/123721
Search -- https://master.php.net/manage/user-notes.php