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