Page 1 of 1

Can we execute mysql queries from MSDOS batch files?

Posted: Wed Jun 27, 2007 11:35 pm
by thamizhchelvan
Hi,

Can we execute mysql queries from MSDOS batch files?

Posted: Thu Jun 28, 2007 12:06 am
by feyd
Yes. The question is, why?

Posted: Thu Jun 28, 2007 12:33 am
by thamizhchelvan
feyd wrote:Yes. The question is, why?
I want to execute a set of queries by a single click,thats why. Can u give me a code sample for this?

Posted: Thu Jun 28, 2007 12:52 am
by Benjamin

Code: Select all

if (isset($_GET['do']) && $_GET['do'] == 'run_queries')
{
    // run queries here
}

Posted: Thu Jun 28, 2007 6:06 am
by JayBird
@astions: what has that got to do with this thread?