davidstummer Posted June 22, 2003 Posted June 22, 2003 what i need is for my php file to go to another webpage, and retrieve info from on of its tables. i can get it to go to a different URL, but at the moment it just displays the whole page. how can i make sure that it goes to the url, and only displays one of it's tables? thanks
orchard Posted June 22, 2003 Posted June 22, 2003 If I understand correctly you're talking about an HTML table, not a database table. I think what you need to do is to put the table code into a separate php file. Then in the old file replace the table code with <?php require('includes/mynewtable.php'); ?> Then also add this line to the new page that you want to be able to display the table. This way both pages will be able to show the same table without having duplicate code. In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:
Recommended Posts
Archived
This topic is now archived and is closed to further replies.