| name | language | licence |
|---|---|---|
| PHP : date en php | Other | Other |
| PHP : class mail | PHP | Other |
| PHP : expressions régulière | PHP | Other |
| PHP : detection ie6 et ie7 en php | PHP | Other |
| PHP : Boucle ecriture dans un fichier XML | PHP | Other |
| MAIL/HTML : remarques | Other | Other |
| MAIL : requete ping par mail | Other | Other |
| JS/JQUERY : infobulle en js+JQuery | Other | Other |
< 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 >
language: PHP
licence: Other
PHP : Boucle ecriture dans un fichier XML
options: view full snippet • send to code collector
<?php
//boucle pour ecriture d'un flux xml, exemple d'utilisation : les ficihers page.xml pour les flip flash
//concatenation du flux xml dans la variable $xml
$xml = '<content width="623" height="870" bgcolor="000000" loadercolor="00519e" bgimage="2" panelcolor="00519e" buttoncolor="00519e" textcolor="ffffff">';
for($i = 1; $i < 115; $i++) {
$xml.='<page src="ENERGIE_FLIP/AEMQ_energie_BD_'.$i.'.swf"/>';
}
$xml .= '</content>';



library
html (48)