On Wed, 2010-07-21 at 12:57 +0530, Nilesh Govindarajan wrote: > On Wed, Jul 21, 2010 at 12:29 PM, Per Jessen <per@xxxxxxxxxxxx> 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