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, [EMAIL PROTECTED]

---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to