Bonjour messieurs
Je débute en PHP et je réalise un projet de formulaire d'inscription avec upload de fichier, on demande à ce qu'un adminstrateur puisse avoir accès aux donné enregistés dans la base de donné via un page. J'ai préféré enregistrer le lien du fichier dns la base de donné. le problème que je rencontre c'est que les fichiers renommer avec des espaces, je n'arrive pas à les téléchargés.
j'ai stocker les info dans un tableau
<table border="1px">
<tr>
<th>Nom</th>
<th>Prenom</th>
<th>Date<br>de naissance</th>
<th>Lieu<br> de naissance</th>
<th>Diplome<br>recent</th>
<th>Date d'obtdion<br> du diplome</th>
<th>Domaine <br> de formation</th>
<th>Nationalite</th>
<th>Contacts</th>
<th>Lieu de <br>residence</th>
<th>Adresse mail</th>
<th>Numéro <br> Matricule</th>
<th>Numéro de la <br> piece d'identite</th>
<th>Situation <br>matrimoniale</th>
<th>Sexe</th>
<th>lien de téléchargement</th>
</tr>
<?php foreach ($contacts as $contact): ?>
<tr>
<td><?= $contact['Nom'] ?></td>
<td><?= $contact['Prenom'] ?></td>
<td><?= $contact['Datenaissance'] ?></td>
<td><?= $contact['Lieunaissance'] ?></td>
<td><?= $contact['Diplomerecent'] ?> </td>
<td><?= $contact['Datobtdiplome'] ?></td>
<td><?= $contact['Domaineformation'] ?></td>
<td><?= $contact['Nationalite'] ?></td>
<td><?= $contact['Contacts'] ?></td>
<td><?= $contact['Lieuresidence'] ?></td>
<td><?= $contact['Adressemail'] ?></td>
<td><?= $contact['NumMatricul'] ?></td>
<td><?= $contact['Numeropieceidentite'] ?></td>
<td><?= $contact['Situationmatrimoniale'] ?></td>
<td><?= $contact['Sexe'] ?></td>
<td><a href=<?= $contact['URL_cv'] ?>>Télécharger CV <?= $contact['Nom'] ?> <?= $contact['Prenom'] ?></a></td>
</tr>
<?php endforeach; ?>