diff options
Diffstat (limited to 'search.php')
-rw-r--r-- | search.php | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -114,7 +114,7 @@ try { } } - echo implode(" - ", $out); + echo implode(" - ", $out) . "\n"; } catch (Exception $e) { echo $e->getMessage() . "\n";die(); @@ -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 . "\n"; // return the text entered + return $input; // return the text entered } |