-
Inserting results from a PHP file into an HTML page
Hi all.
What I have is a PHP file that queries a database. I want to use the results to fill a table that's defined in an HTML page. I'd like to do something like:
<HTML>
:
:
<table>
<?php include("http:/alongcrazyalley.com/test/dbtest.php"); ?>
</table>
:
:
:
</HTML>
The php file queries the database and builds the <td> tags.
What I don't know is 1) is this possible and 2) how to output the table row code in the PHP file.
Can anyone please help.
Thanks.
Last edited by Jim Weinberg; 07-28-2012 at 08:52 PM.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks