ID: 25884 Updated by: [EMAIL PROTECTED] Reported By: mazsolt at yahoo dot com -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: win 2000 Server, IIS PHP Version: 4.3.3 New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. Not a PHP bug. Previous Comments: ------------------------------------------------------------------------ [2003-10-15 11:41:08] mazsolt at yahoo dot com Description: ------------ hello I launched this problem on several forums ( like phpbuilder), but I haven't got an answer for it. I have a mysql script, which I can run from the mysql command prompt with: mysql> \. out.txt // out.txt is the name of the script file located in c:\mysql\bin The script run without problems, in fact it contains only 2 lines : use test select * from table1 Now, I would wish to run the script from a php program too, with the command: mysql_query("\\. out.txt"); I received an error message, which indicated me a SYNTAX error in the appropiate line... I tried to use the fullpath of the script: mysql_query("\\. C:\\mysql\\bin\\out.txt"), but I got the same error message. I think there is a BUG, because I couldn't discover any syntax error (I escaped all the backslashes). I discovered, that you couldn't run any of the "short-hand" mysql-commands from php, like \h. Could you send me answer, please? at the forums, even senior members weren't able to solve my problem. Thanks in advance! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=25884&edit=1
