i have a php code that that have a function that print html via echo like so:
<?php
function show_html($num_found)
{
$html="
<html>
<head>
</head>
<body>
<table width='100%' border='1'>
<tr align='center'>
<th colspan='2'>ERROR REPORT</th>
</tr>
<tr align='center'>
<td>Number of error found</td>
<td> ***$num_found*** </td>
</tr>
</table>
</body>
</html>";
return $html;
}
echo show_html($num_found);
?>
how can i print the $num_found variable inside the table ?