Re: exec output to mySQL, How?

From: Date: Wed, 21 Jul 2010 07:28:59 +0000
Subject: Re: exec output to mySQL, How?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-307059@lists.php.net to get a copy of this message
On Wed, 2010-07-21 at 12:57 +0530, 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 > > > > > > > > -- > > Per Jessen, Zürich (22.6°C) > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > I don't think this is what he needs? Otherwise why would he post on a > PHP list lol. > > -- > Regards, > Nilesh Govindarajan > Facebook: http://www.facebook.com/nilesh.gr > Twitter: http://twitter.com/nileshgr > Website: http://www.itech7.com > Because many people wouldn't know that Linux can happily deal with this on the command line, so would assume they would have to use a scripting language to perform the task. Thanks, Ash http://www.ashleysheridan.co.uk

« previous php.general (#307059) next »