Bonjour,
En fait je me trouve devant une ignorance qui m'empeche d'avancer dans mes codes, voilà, j'ai ces codes si qui me permet de récuperer les valeurs dans ma bd, et me l'affiche sur cette page, ainsi cela s'ajoute automatique que j'ai de nouvelle données dans ma table de selection. Et la via le lien "export ", je télecharge le fichier xlsx sur ma machine. et mon problème est celui ci
je vien d'inserer la case à cocher, qui pourait me permettre de télélcharger autant de fichier selectionner, et que cela s'exécute quand on click sur le bouton "submit".
Merci pour tout votre contribution.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58 <form id="form1" name="form1" method="post" action=""> <table width="673" align="center" cellpadding="0" cellspacing="0" class="tabmantit"> <tr bgcolor="#3399fe"> <td width="20">N°</td> <td width="133"><div align="center">Pseudo</div></td> <td width="74"><div align="center">Edition</div></td> <td width="167"><div align="center">Importateur</div></td> <td width="94"><div align="center">Nature</div></td> <td width="118"><div align="center">Entrepot</div></td> <td colspan="3"><div align="center">Actions</div></td> </tr> <?php $i=0; $j=2; $k=0; while($mseimp=mysql_fetch_array($resultat)) { $val=fmod($j,2); if($val==0) { $couleur="#f0ffff"; } else $couleur="#dbf0ff"; $i++; $j++; ?> <tr bgcolor="<?php echo $couleur;?>" class="tabman"> <td><?php echo $i; ?></td> <td><div align="center"><?php echo $mseimp['pseudo'] ;?></div></td> <td><div align="center"><?php echo $mseimp['date_jr'] ;?></div></td> <td><div align="center"><?php echo $mseimp['nom_import'] ;?></div></td> <td><div align="center"><?php echo $mseimp['nature'] ;?></div></td> <td><div align="center"><?php echo $mseimp['entrepot'] ;?></div></td> <td width="20" align="center"> <label> <input type="checkbox" name="check" id="check" /> </label> </td> <td width="45" align="center"><a href="donwload.php?filename=lettre/<?php echo $mseimp['let'] ;?>">export</a></td> <?php } ?> </tr> <tr bgcolor="#3399fe"> <td> </td> <td> </td> <td> </td> <td> </td> <td> </td> <td> </td> <td colspan="2"><label> <input type="submit" name="submit" id="submit" value="Exporter cocher" /> </label></td> </tr> </table> </form>
Partager