Re: Use include function (newbie)

From: Date: Sat, 18 Oct 2003 00:53:06 +0000
Subject: Re: Use include function (newbie)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-166574@lists.php.net to get a copy of this message
<20031017160731.25320.qmail@pb1.pair.com> Rich Fox: > 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 The idea is, AFAIK, when you first start, you're on html.php. Then, any link goes to logic.php, which uses html.php to display its data. That's a bit confusing. Try either including logic.php into html.php, or start with logic.php and never have the browser go to html.php...

« previous php.general (#166574) next »