I do have thousands of website list and other info in MySQL database.
I want only website column named \"web\" to be exported to excel or text or csv.
I know
You can execute this query directly using phpmysql :
SELECT web FROM your_table INTO OUTFILE '/tmp/web.sql'
After that, you can login to the database server OR use php to access the OUTFILE
details - mysql select