Je tente de transmettre les informations d'une donnée spécifique à éditer sous une autre forme: edit_doc.php. Cependant, quand je clique sur "Modifier" il ne semble pas fonctionner. Seul edit_doc.php s'ouvre mais les informations n'apparaissent pas. Y a-t-il une erreur dans les codes? S'il vous plaît aider.Transmission d'un ID à un autre formulaire
[php]
echo "<table border='1'>
<th>File Reference No.</th>
<th>File Name</th>
<th>Owner</th>
<th>iShare URL</th>
<th>Edit</th>
<th>Borrow</th>
<th>Delete</th>
</tr>";
while ($rows = mysql_fetch_assoc($run))
{
echo "<tr>";
echo "<td>". $rows['file_ref'] ."</td>";
echo "<td>". $rows['file_name'] ."</td>";
echo "<td>". $rows['owner'] ."</td>";
echo "<td>". $rows['url'] ."</td>";
echo "<td><a href=edit_doc.php?id=<?php $['id']; ?>" . "Edit" . "</a></td>";
echo "</tr>";
}
echo "</table>";
[/ php]
Merci.
Cela fonctionne! Merci! ;) – yash
comprenez-vous la différence entre votre ligne et ma ligne? – Salandur