I have generated a PHP file and the echo is as follows:
echo($time);
When I run the HTML codes, I get the value echoed in the PHP file.
I want to get the value echoed in the HTML file like a table, for example :
Time 45
Thanks for your help
Advertisement
Answer
Create an HTML table and put echo $time
in the appropriate cell.
?> <table> <tr> <td>Time</td><td><?php echo $time;?></td> </tr> </table>