Re: exec output to mySQL, How?
| From: | Per Jessen | Date: | Wed, 21 Jul 2010 07:32:36 +0000 |
| Subject: | Re: exec output to mySQL, How? | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-307060@lists.php.net to get a copy of this message | ||
Nilesh Govindarajan wrote:
> On Wed, Jul 21, 2010 at 12:29 PM, Per Jessen <per@computer.org> wrote:
>> Tom Sparks wrote:
>>
>>> How do I take the output from a command line program and update a
>>> MYSQL database with it?
>>
>> <command line program> | mysql -u user -p -Ddatabase
>>
>
> I don't think this is what he needs? Otherwise why would he post on a
> PHP list lol.
Who knows, but I answered his question. Besides, he doesn't need PHP to
do mysql updates with output from a command line program.
--
Per Jessen, Zürich (23.3°C)