im having difficulties calling php function in my html table.
<table>
<thead class="table">
<tr><th>Letter</th><th>Sender</th></tr>
</thead>
<tbody>
<?php require_once 'assets/userFunctions.php';
foreach ($myCvs as $cv){
echo "<tr>
<td>{$cv['cv']}</td>
<td>getUsernameById({$cv['senderid']})</td>
</tr>";
}
?>
</tbody>
</table>
And in the table i just see getUsernameById(2)
for example...