[PHP] Use include function (newbie)

2003-10-17 Thread Karina S
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!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Use include function (newbie)

2003-10-17 Thread Chris W. Parker
Karina S mailto:[EMAIL PROTECTED]
on Friday, October 17, 2003 8:02 AM said:

 Question:
 Is it a right way to do this task or this reqursive calls overloads
 the server?

Maybe I'm misunderstanding you but I didn't see anything wrong with the
example you gave. Maybe someone else will understand better, or you
could try rephrasing your question.


HTH,
Chris.

--
Don't like reformatting your Outlook replies? Now there's relief!
http://home.in.tum.de/~jain/software/outlook-quotefix/

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php