Use include function (newbie)

From: Date: Fri, 17 Oct 2003 15:01:39 +0000
Subject: Use include function (newbie)
Groups: php.general 
Request: Send a blank email to php-general+get-166474@lists.php.net to get a copy of this message
I make a site where I list data from a mysql database. I want to divide the task into 2 parts. The 1. php is the logic.php an the 2. is the html table (html.php) with field values. I plan that the form action in the html.php file call the logic.php but the logic.php includes the html.php. I mean: html.php <form action="logic.php"> ... logic.php ... include('html.php'); On the html.php user can view data and use last, first, next,... buttons to see the whole table. Question: Is it a right way to do this task or this reqursive calls overloads the server? Thanks!

« previous php.general (#166474) next »