Although it seems simple, I am struggling to achieve this task.
I have a list of rows with 6 columns that display data from MySQL. I want to make each row clickable instead of just a cell, which will open a new URL in a new tab.
Below is the structure I am working with:
<tr> <a target="_" href="https://www.google.com">
<td style="text-decoration: underline; font-size: 15px;"> </td>
<td><?php echo $row['district']; ?></td>
<td><?php echo $row['program']; ?></td>
<td><?php echo $row['gender']; ?></td>
<td><?php echo $row['yoa']; ?></td>
<td><?php echo $row['email']; ?></td>
</a></tr>
The above method is not working as expected. Any assistance would be greatly appreciated.