you can try something like: <?php include("file_with_just_the_table_and_html_tags.txt"); ?>
put your table in the above file (of course with a different name!) then call it when ever you need to. Other's will disagree but you also need to give the destination file a .php extension. Hugh ----- Original Message ----- From: "Jason Whitaker" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 14, 2002 11:32 PM Subject: [PHP] text grabber > How do i pull text from one file and have it print to another? > > example: > > I have a site where i use a table alot on alot of different pages but i dont > want to type out the table each time but rather use php to grab the table > from file-1.txt and print it on file-2.php? > > > -- > > Jason Whitaker > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php