How to Save results from MySQL into an external file
Copy this code and paste it in your HTML
echo
"SELECT columns FROM table_name WHERE whatever='something'" | /path
/to/mysql
-uUSERNAME
-pPASSWORD DATABASENAME
> /tmp
/outfile.txt
;
Report this snippet
Comments
Subscribe to comments