Previous Thread
Next Thread
Print Thread
Rate Thread
#252405 06/25/2003 8:52 PM
Joined: Apr 2003
Posts: 80
Power User
Power User
Offline
Joined: Apr 2003
Posts: 80
I couldn't find this question, but how do I export the results of a sql command to Excel? Also, I want to dump my profiles table. How do I reference this? I assume there is an owner or database qualifier to that table, but select * from profiles doesn't work. I couldn't find this in database. Thanks


Promoting the world on bike!
Sponsored Links
Joined: Apr 2002
Posts: 1,768
Addict
Addict
Offline
Joined: Apr 2002
Posts: 1,768
phpMyAdmin version 2.5.0 has an option for exporting as "CSV for Ms Excel data". Here's an example of a table dump:

"1","usa.gif","United States"
"2","canada.gif","Canada"
"3","australia.gif","Australia"
"4","europe.gif","Europe"
"5","south_america.gif","South America"
"6","uk.gif","United Kingdom"
"7","world.gif","World"


The "profiles" table is the w3t_Users table: SELECT * FROM w3t_Users

Joined: Apr 2003
Posts: 80
Power User
Power User
Offline
Joined: Apr 2003
Posts: 80
Thanks Dave, again. I guess I'm confused though, since I'm not a php guy. This isn't a tool included in threads is it? Is it something I should download?


Promoting the world on bike!
Joined: Oct 2000
Posts: 2,222
Veteran
Veteran
Offline
Joined: Oct 2000
Posts: 2,222
[]biketrip said:
Thanks Dave, again. I guess I'm confused though, since I'm not a php guy. This isn't a tool included in threads is it? Is it something I should download? [/]

No, it is not included in .threads, yes, you absolutely should download it. IMHO anyody that uses MySQL should.


http://www.phpmyadmin.net


Picture perfect penmanship here.
Joined: Apr 2003
Posts: 80
Power User
Power User
Offline
Joined: Apr 2003
Posts: 80
Thanks Navaho, I shall do so tonight!


Promoting the world on bike!
Sponsored Links
Joined: Nov 2001
Posts: 10,369
I type Like navaho
I type Like navaho
Joined: Nov 2001
Posts: 10,369
Dean -

You have it - I installed it and sent you how to access it - I can resend that - but you are all set.

Joined: Apr 2003
Posts: 80
Power User
Power User
Offline
Joined: Apr 2003
Posts: 80
Ooops, me forget again! Thanks Josh, I'll check my notes. Sometimes I dont pay attention until the need is there


Promoting the world on bike!
Joined: Apr 2003
Posts: 80
Power User
Power User
Offline
Joined: Apr 2003
Posts: 80
Just to confirm, works like a charm! Thanks. in phpMyAdmin click on table, click on export and then do CSV .. option.


Promoting the world on bike!

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
• Shock Hosting
• Stable Host
• bluehost
• InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,957
Members13,826
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 2042
Topics Created 0
Posts Made 0
Users Online 1
Birthdays 30
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20261026)