I want to do something like this:
$ [mysql query that produces many lines] | php parse_STDIN.php
In parse_STDIN.php file I want to be able to parse my data line by line from stdin.
I want to do something like this:
$ [mysql query that produces many lines] | php parse_STDIN.php
In parse_STDIN.php file I want to be able to parse my data line by line from stdin.