So here I have a table CRUD, it works quite well, only I would like to display a variable of my table in the form of a link redirecting to a file whose name contains the value of the variable :)
I explain in my Numero column, I leave the possibility of entering the value I want, and in fact I would like that according to the value of Numero, when I clicked on (Numero will change according to the different lines) this Redirects to a file: myfile2.html depending on if for example I click on value 2 (first row in my table).
What makes it quite simply allows me to redirect to another table of my own db to the number on which I will click.
I am putting you the code or the modification must be made:
while($row = $result->fetch_array()){
echo "<tr>";
echo "<td>" . $row['id'] . "</td>";
echo "<td>" . $row['Title'] . "</td>";
echo "<td>" . $row['Severity'] . "</td>";
echo "<td>" . $row['Origin'] . "</td>";
echo "<td>" . $row['Numero'] . "</td>";
echo "<td>" . $row['Remarks'] . "</td>";
It's obviously at the level of the line
This is hoping to have been clear enough.
Thank you.