Rewrite console command to look like a select query

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
fastfingertips
Forum Contributor
Posts: 242
Joined: Sun Dec 28, 2003 1:40 am
Contact:

Rewrite console command to look like a select query

Post by fastfingertips »

How can rewrite this to looke like a mysql select query:

Code: Select all

mysqldump -u root -p -w"manufacturer_id<9" wap_portal app_manufacturer  --xml
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

what have you figured out so far?
fastfingertips
Forum Contributor
Posts: 242
Joined: Sun Dec 28, 2003 1:40 am
Contact:

Post by fastfingertips »

I do not want to use the execute function and i was wondering if is there any way to select some data in an xml format from Mysql server. As i kno other servers allows that.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Post by Chris Corbyn »

If you can't do it then I'm betting there's a class available that can. If there's not one of those then there's a nice little project for someone :)
Post Reply