Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 74353

Insert a link button in a Table

$
0
0

I am new to mysqli I think I have the basic's under me but I am battling to a button in a table that i can execute.

This is my code:

while($row = mysqli_fetch_array($result))
{
echo "<tr align='left'>";
echo "<td>" . $row['id'] . "</td>";
echo "<td>" . $row['sysdate'] . "</td>";
echo "<td>" . $row['systime'] . "</td>";
echo "<td>" . $row['controller'] . "</td>";
echo "<td>" . $row['sla_client'] . "</td>";
echo "<td>" . $row['notes'] . "</td>";
echo "<td>" **BUTTON TO BE INSERTED HERE** "</td>";
echo "</tr>"; 
}

The below code obviously is not working in the above table

<button onclick="window.location.href = '../master.php';">Click Here</button>

Viewing all articles
Browse latest Browse all 74353


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>