Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
including data from mysql in xml file?
Old 12-28-2009, 08:41 PM including data from mysql in xml file?
Novice Talker

Posts: 6
Trades: 0
hey can i use mysql in a xml file?
if yes how can i include data from the database?

please help
Darkwoods is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-29-2009, 02:53 AM Re: including data from mysql in xml file?
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Quote:
hey can i use mysql in a xml file?
You cannot embed a db into a xml file. But you can export a db dump in a xml file.
http://dev.mysql.com/doc/refman/5.1/..._mysqldump_xml
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 12-29-2009, 10:14 AM Re: including data from mysql in xml file?
Novice Talker

Posts: 6
Trades: 0
Quote:
Originally Posted by tripy View Post
You cannot embed a db into a xml file. But you can export a db dump in a xml file.
http://dev.mysql.com/doc/refman/5.1/..._mysqldump_xml
hey i heard this
Quote:
AddType application/x-httpd-php .xml
would make php workable i have to put it in a .htaccess file
Darkwoods is offline
Reply With Quote
View Public Profile
 
Old 12-29-2009, 11:01 AM Re: including data from mysql in xml file?
tripy's Avatar
Do not try this at home!

Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
Trades: 0
Quote:
hey i heard this Quote:
AddType application/x-httpd-php .xml
would make php workable i have to put it in a .htaccess file
I try, but I don't understand what you meant here.
Do you want php to generate xml file, or do you want to embed php code in a .xml file ?
__________________
Only a biker knows why a dog sticks his head out the window.
tripy is offline
Reply With Quote
View Public Profile Visit tripy's homepage!
 
Old 12-29-2009, 08:49 PM Re: including data from mysql in xml file?
Novice Talker

Posts: 14
Trades: 0
If you want it done dynamicly you need to create a page in your code of choice (ASP, PHP, Etc) that writes your XML and responses the page type back as XML.
__________________
Free website app bar -
Please login or register to view this content. Registration is FREE

Create your own social website -
Please login or register to view this content. Registration is FREE
jayrob is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to including data from mysql in xml file?
 

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.31486 seconds with 12 queries