faqts : Computers : Programming : Languages : PHP : kms

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

11 of 15 people (73%) answered Yes
Recently 7 of 10 people (70%) answered Yes

Entry

How do I display the output of a .php file in a table on/within html in a table?

Jul 23rd, 2003 02:29
Praveen Kumar Kukkapalli, Craig Byron,


Include the .php file in the table where you want to display.
You can see the example below where rand.php which is generating random
number is displaying in a table.
<html>
<body>
   <table>
      <tr>
         <td>
<?php
include("rand.php");
?>
          </td>
      </tr>
   </table>
</body>
</html>