List:General Discussion« Previous MessageNext Message »
From:Paul DuBois Date:June 5 2001 11:57pm
Subject:Re: executing command
View as plain text  
At 11:14 PM +0200 6/5/01, Jiri Skrabal wrote:
>Hi all,
>I need execute any string as any SQL command
>For example:
>Let function GET_COMMAND() returns string like "SELECT * FROM tab1;"
>Is any function like 'eval' or 'execute' in MySQL?
>
>I need it for PHP scripts (to minimalize queries count).
>for example query:
>"eval GET_COMMAND()";
>Please help :-)

If you're using PHP, why not use the PHP MySQL API?  Specifically,
the mysql_query() function.

>
>
>thanx
>
>--Jira


-- 
Paul DuBois, paul@stripped
Thread
executing commandJiri Skrabal5 Jun
  • Re: executing commandPaul DuBois6 Jun