If I run this...
mysqlimport --host=host --user=user --ignore --fields-terminated-by=, --fields-enclosed-by=" database text.csv
...from the command line the correct table in the database is updated with the new values from the text file.
How do I send the same command using PHP? I have tried using exec(arguments) and passthru(arguments) with no success.
Using passthru shows that only the command as far as ..mysqlimport is run and the copyright info is passed back! Why are the arguments after mysqlimport not passed?