hi,
I tried to run a mysql script named out.txt, placed in the directory C:\mysql\bin. I have tested the script directly in mysql, from command prompt, and everything is OK, the script run without errors.
I wrote in a .php file the following lines:
mysql_connect("localhost");
mysql_unbuffered_query(". out.txt");
I got an error message, which said that I had a syntax error in line 2, and to check the manuals .....
I tried to use the full path "C:\mysql\bin\out.txt", to escape the back-slash character "\.out.txt", but the same error occured.
Can anybody help me? Thanks in advance.