How can i create a php file that export my selected mysql database to
a execel or csv form

i have my own database named as "users"
that have 10 tables


i want to php file that export my "users" databse to ms excel and which when run on
the server then it requires to download to pc

plz share me these scripts


thanks in this regard

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.