But *why* does logic.php need html.php?

There is no recursion issue, or endless nesting of includes, because
html.php refers to logic.php as an action for a form... this does not
"include" the logic.php code into the html.php page.

Rich


"Karina S" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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

Reply via email to