Mettre xml en dynamique (PHP/Mysql)

Fermé
antho - 26 oct. 2007 à 12:37
 darkmen - 7 oct. 2011 à 21:03
Bonjour,
Je voudrais connaitre comment inserer mes données de ma base de donnée dans un fichier xml

Dans la base de donnée, j'ai 1 champ pour chaques.

merci de votre aide

voici le xml

_________
<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<title>Kahvi Collective Podcast - www.kahvi.org</title>
<annotation>Kahvi Collective, the best place for free electronic chill, ambient and electronic vibes.</annotation>
<info>http://www.kahvi.org</info>
<trackList>
<track>
<title>Kahvi #189c: Alkor / The Background</title>
<annotation>perhaps my favorite from the ep - emotive, sentimental and heavily inspired by the soundtrack from bladerunner (at least thats how I see it). you can just see the rain falling. excellent.</annotation>
<location>http://kahvi.micksam7.com/mp3/kahvi189d_alkor-the_background.mp3</location>
<image>http://www.enricolai.com/FMP3/image/189.jpg</image>
<info>http://www.kahvi.org/122.php</info>
</track>
<track>
<title>Kahvi #189c: Alkor / A day without the sunset</title>
<annotation>chilled but with an interesting touch - authentic ethnic instruments. excellent production fitting old and new together spotlessly. Enjoy this one.</annotation>
<location>http://kahvi.micksam7.com/mp3/kahvi189c_alkor-a_day_without_the_sunset.mp3</location>
<image>http://www.enricolai.com/FMP3/image/189.jpg</image>
<info>http://www.kahvi.org/122.php</info>
</track>


</trackList>
</playlist>
___________
A voir également:

2 réponses

pas de réponse ?
aidez-moi svp ???????
0
je suis toujour dans la demande ??? quel'qun aurais une solution svp ?
0
http://www.developpez.net/forums/d1008600/php/langage/debuter/creer-fichier-xml-dynamique/
0