diff options
author | Joe Robinson <joe@lc8n.com> | 2015-12-07 00:31:58 +0000 |
---|---|---|
committer | Joe Robinson <joe@lc8n.com> | 2015-12-07 00:31:58 +0000 |
commit | dcfca35dd4a41977e040e43c1dcca9ac527dac39 (patch) | |
tree | 3474ed864b4a903776f148ab7c859c8e6daf5bef | |
parent | 47cb1f271fcfe28a1e8cd4184f7820e6d7f30dd0 (diff) |
Add newline to end of output
-rw-r--r-- | search.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -126,5 +126,5 @@ function read_stdin() $input = fgets($fr,128); // read a maximum of 128 characters $input = rtrim($input); // trim any trailing spaces. fclose ($fr); // close the file handle - return $input; // return the text entered + return $input . "\n"; // return the text entered } |