Bonjour,
dans ma barre de menu j'ai une calendrier et une période que je choisie et un bouton ok sur le quel je clic pour afficher le fichier correspond a cette date et et a cette periode ma question est comment faire pour réaliser cela en php
le code menu.html
voila ce que j'ai fais pour afficher le fichier mais sa ne marche pas
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 <li id="no"><input name="dc" value="" size="11"></li><a href="javascript:void(0)" onclick="if(self.gfPop)gfPop.fPopCalendar(document.demoform.dc);return false;" ><img class="PopcalTrigger" align="absmiddle" src="calendrier/calbtn.gif" width="34" height="22" border="0" alt=""></a> <iframe width=174 height=189 name="gToday:normal:agenda.js" id="gToday:normal:agenda.js" src="calendrier/ipopeng.htm" scrolling="no" frameborder="0" style="visibility:visible; z-index:999; position:absolute; top:-500px; left:-500px;"> </iframe> <select name="periode"> <option>1Jour</option> <option>2Jour</option> <option>1Semaine</option> </select> <a href="dossier1/afficher.php" target="left_bottom"> <input type="button" value="Ok"> </a>
affichage.php
Merci d'avance
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7 $command="localhost/fichier.php '$f' '$dc' '$periode'"; } if (substr($f,strpos($f,'.'),strlen($f))==".php") { $tmp = $f; $tmp = substr($tmp,0,strpos($tmp,'.')); $texte .= ' <a href="fichier2.php?'. $f . $dc . $periode .'" style="color:'. $color .'" target="right">' . $tmp . '</a><br />'; } else {
Partager