PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > The PowWeb Platform > MySQL
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 1-2-05, 02:27 AM   #1
kevinhankens
 
Posts: n/a
MySQL export to CSV

Greetings! I was wondering if anyone has any experience with exporting a MySQL database table to a CSV file. I know that you can do this easily via PHPMyAdmin, but I am building a script for someone who won't have access to that program.

The best option seems to be the MySQL command "SELECT INTO", but I don't have a lot of MySQL experience. It seems that you could do a simple script that exports the contents of a table, but I'm not sure how to target a directory on the web server using that command through a PHP script.

Any thoughts? I'd love to hear what others have done.

Thanks!

Kevin
 
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 09:22 AM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.